google maps - How to highlight only one state or a province using Fusion Table Search Query? -
i know how highlight whole country using google's fusion table api. wondering how highlight region within given country.
this how works @ country level, looking @ region (state / province) level highlighting only.
// javascript code var table_id = 655491; var query = "select 'kml_4326' "+table_id+" 'name_0' = '"+countryname+"';"; var option = { suppressinfowindows: true, query }; layer = new google.maps.fusiontableslayer(table_id, option); layer.setmap(map);
Comments
Post a Comment