Google Maps and Fusion Table Changes
-
Hello,
It seems like google transitioned away for numeric Ids from fusion tables. They now use Encrypted ID instead and do not give a numeric Id any more. I noticed your plugin does not support encrypted IDs. I used this page ( https://developers.google.com/maps/documentation/javascript/layers#FusionTablesSetup ) and updated the plugin locally to get encryption ids to work. What I had to do was change:
var fusionLayer = new google.maps.FusionTablesLayer(' . $attr['fusion'] . ');to
var fusionLayer = new google.maps.FusionTablesLayer({ query: { from: \''. $attr['fusion'] .'\' }, });It will work with the old Numerical ID as well as the new Encrypted ID.
Thanks for the great plugin!
Greg
The topic ‘Google Maps and Fusion Table Changes’ is closed to new replies.