When you create a google Fusion Map with geographic data, Google provides you with an iframe link to display the Map on your website. But I need to display that information through Javascript for customization etc.
How do I go about it?
google mapsgoogle-fusion-tablesgoogle-maps-apijavascript
When you create a google Fusion Map with geographic data, Google provides you with an iframe link to display the Map on your website. But I need to display that information through Javascript for customization etc.
How do I go about it?
Best Answer
Check out this example:
https://developers.google.com/fusiontables/docs/samples/custom_markers
It shows you how to query a Fusion Table and create a marker for each row of data.
You could modify the createMarker() function to give the marker a different icon depending on a certain criteria/column value that you pass to it.
e.g