Note that there are some explanatory texts on larger screens.

plurals
  1. POOverlaying Google-Defined Localities into Google Maps
    primarykey
    data
    text
    <p>I am a Massive n00b with this so please forgive my terrible ignorance.</p> <p>I'm trying to work out how to do what may sound simple in placing an overlay over some Australian suburbs on a Google Map on a website using its API.</p> <p>I've been reading about overlays and how you can define polygons with coordinates as per <a href="http://code.google.com/apis/maps/documentation/javascript/overlays.html#PolygonOptions" rel="nofollow">http://code.google.com/apis/maps/documentation/javascript/overlays.html#PolygonOptions</a> - and its example.</p> <p>I want to place an overlay on the suburbs of Black Rock, Beaumaris, Cheltenham, Mentone, Parkdale and Mordialloc in Victoria, Australia - so obviously I can work out the coordinates of that area and define it in the code. But this process would involve some work and time, probably not be specific and require many coordinates. What I was wondering is if anyone knows if/how it might be possible to use the MapTypeStyleFeatureType administrative.locality object's of Google Maps API - <a href="http://code.google.com/apis/maps/documentation/javascript/reference.html#MapTypeStyleFeatureType" rel="nofollow">http://code.google.com/apis/maps/documentation/javascript/reference.html#MapTypeStyleFeatureType</a> - which may already have this area defined with those suburb names - so I can get the overlay to cover the area of those suburbs as Google defines it? (for example, put those suburb names into the code and the overlay occur on them automatically?) (or something!)</p> <p>Sorry for what this is probably a really amateur explanation and question but I thought I might be able to do this myself and it might be possible with the help of a few nice, smart people :)</p> <p>Many Thanks, Tom W</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload