- Where Developers Learn, Share, & Build Careers


I have a fusion table in which the Kile data is in a column which is shown as the boundaries of the buildings. I would like to use that data in my own dynamic Google map so far this is the code I have written:

  function initialize () {var mapOptions = {center: new google.maps.LatLng} (41.558, -72.651), zoom: 14, map type EID: Google.maps.MapTypeId.HYBRID}; Map = new google.maps.Map (document.getElementById ("map_canvas"), map options); Layer = new google.maps.FusionTablesLayer ({query: {select: 'geometry', from: '5336096' // '1ZhE_f12VDQ5zr82cbftVn1Jpff_TK5ZQmC3h52Y'}, heatmap: {enabled: true}, style: [{polygonOptions: {fillColor: "# 00FFFF ", Opacity: 0.3}}]}); Layer.setMap (map); }   

What it does so far, puts a small green dot on each building, but not a whole polygon. Any thoughts that I am doing wrong?

Remove heatmap: {enabled: true}

works.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -