Overlays with FusionTables Layer

13 views
Skip to first unread message

Landon Garry

unread,
Feb 6, 2012, 12:26:06 PM2/6/12
to google-map...@googlegroups.com
Is there a way to trigger an overlay when an object in a fusiontable layer is clicked? I would like the object drawn to be a function of one of the Fusiontable's parameters (transmitter power, or ERP).  I'm not sure how to extract the information from the clicked element from the overlay, or whether or not it's possible. My script is attached, plotting FM and DTV transmitters around Columbus. 

Cheers,
Landon
col_bcst_loc.html

geoco...@gmail.com

unread,
Feb 6, 2012, 1:43:05 PM2/6/12
to Google Maps JavaScript API v3
The click event returned by a FusionTableLayer includes the data of
the row that created that point (in its "row" property). If the data
you are looking for is there you can extract it from the click event.

http://code.google.com/apis/maps/documentation/javascript/reference.html#FusionTablesMouseEvent

-- Larry

>
> Cheers,
> Landon
>
>  col_bcst_loc.html
> 3KViewDownload

Landon Garry

unread,
Feb 6, 2012, 1:58:11 PM2/6/12
to google-map...@googlegroups.com
Wonderful! Missed the 'row' element in the doc. Should be able to get everything working then.

Thanks for the help,
Landon
Reply all
Reply to author
Forward
0 new messages