I have a google fusion table loaded as a layer onto my Google Map. Everything's showing up fine, but when I try to change the selection criteria using .setQuery it's not returning anything. Any help is most appreciated.
see the working example here: http://www.rbompiani.com/exampleCode.html code: <script type="text/javascript" id="script"> var center = new google.maps.LatLng(42.68, 8.79); var zoom = 3; var tableid = 934341; var location_column = 'geometry'; var map, fusionLayer; function initialize() { map = new google.maps.Map(document.getElementById('map_canvas'), { center: center, zoom: zoom, mapTypeId: 'roadmap' }); fusionLayer = new google.maps.FusionTablesLayer({ query: { select: location_column, from: tableid }, }); fusionLayer.setMap(map); } function changeUP(){ fusionLayer.setQuery("SELECT 'geometry' FROM " +tableid+ " WHERE 'Sub-sector'=1"); } </script> -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
