Google Maps Fusiontable Implementation In Gwt
Is it possible to have this exact same functionality in GWT? layer = new google.maps.FusionTablesLayer({ query: { select: 'geometry', from: '1ertEwm-1bMBhpEwHht
Solution 1:
After a lot of painful trial and error I was able to do it. Posting here so that others could benefit.
private native FusionTablesLayer createFusionTableLayer()/*-{
return new $wnd.google.maps.FusionTablesLayer({
query: {
select: 'geometry',
from: '1tJkzVXTv-B2-rFeQVO9bX_vICCvJ9Xq1LU6xog5f'
},
styles: [{
polygonOptions: {
fillColor: '#00FF00',
fillOpacity: 0.3
}
}, {
where: 'birds > 300',
polygonOptions: {
fillColor: '#0000FF'
}
}, {
where: 'population > 5',
polygonOptions: {
fillOpacity: 1.0
}
}]
});
}-*/;
Post a Comment for "Google Maps Fusiontable Implementation In Gwt"