Styles not being recognized when attempting to change with a google fusion table query -
i have otherwise working application @ sample web site
i change display of selected line default thin red line thicker green (or red) line.
when changed following code in map.js file from
// google fusion linefeat table var linlayer = new google.maps.fusiontableslayer({ query: { select: 'name', from: lintableid, where: idstr, }, map: globalmap });
to add styles section shown, nothing changes in display
// google fusion linefeat table var linlayer = new google.maps.fusiontableslayer({ query: { select: 'name', from: lintableid, where: idstr, styles: [{ polylineoptions: { strokecolor: "#00ff00", strokeweight: "12" } }] }, map: globalmap });
can provide me direction on might doing wrong? these same results if comment out call zoom.js functions zoom map specific project.
the styles option doesn't go in query:
// google fusion linefeat table var linlayer = new google.maps.fusiontableslayer({ query: { select: 'name', from: lintableid, where: idstr }, styles: [{ polylineoptions: { strokecolor: "#00ff00", strokeweight: "12" } }], map: globalmap });
btw - in "sample map" overwriting linlayer layer areafeat, don't want that.
Comments
Post a Comment