Thanks Esa. Actually I've worked a lot with FT layers and must agree.

The reason I was looking into this was because, by generating the
markers rather than in an FT layer, I was able to give them titles
(equivalent to title="" in anchor tags). Other marker mouseover
effects could also be set.

If you know of a solution to show titles — something I think is
helpful for a user when trying to decide if a marker is relevant to
them, and hence open the info window - I'd love to hear your thoughts.

Likewise, I'd be greatly if you or indeed anybody could answer this:
in my original example using the google Viz API, is there a way to
skip the geocode step altogether assuming I already have the LatLng
coordinates in my Fusion Table?

All the best,

Nick


On Mar 7, 3
:02 pm, Esa <esa.ilm...@gmail.com> wrote:
> I would recommend using Fusion Tables 
> Layershttp://code.google.com/apis/maps/documentation/javascript/overlays.ht...
>
> You can make SQL queries with them too. Further you can geocode the
> address data in Fusion Tables. Now you are fetching addresses from a
> Fusion Table and geocoding them on client side. That is not a
> recommended practice.
>
> With Fusion Tables Layers you can switch layers on and off by
>
>   layer.setMap(map);
>   layer.setMap(null);
>
> Make an Array for layers. Keep record about the selected layer.
>   var layers = [];
>   var activeLayer = layers[x];
>
> On 'change' of select element, trigger a function like:
>
>   function swap(){
>     activeLayer.setMap(null);
>     var now = document.forms[0].switcheroo.selectedIndex;
>     layers[now].setMap(map);
>     activeLayer = layers[now];
>   }
>
> No guarantee. Just an idea.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to