javascript - Why is fusion table style not reflected in google map -


i importing fusion tables google map icon colour used in fusion table not reflected in map. working few days went wrong. please can suggest me reason.

layer1 = new google.maps.fusiontableslayer({ query: { select: 'latitude', from: '1f1xftx7j52pzjv3mwnbq3rcipwb6x1li67ca6lg' } }); 

you must define styleid via options-property when want apply style of map-view in external map:

to determine styleid click on arrow on right side of view-tab, choose publish->get html , javascript.
give complete code publish map-view on external page, contains styleid.

in case styleid 2

layer1 = new google.maps.fusiontableslayer({   query: {     select: 'latitude',     from:   '1f1xftx7j52pzjv3mwnbq3rcipwb6x1li67ca6lg'   },   options:{     styleid: 2   } }); 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -