i would prefer the exact shape of my city. It's Ottawa, Canada. when you say more challenging, does that mean it can't be done? :D
On Dec 6, 2:56 pm, "[email protected]" <[email protected]> wrote: > On Dec 6, 11:11 am, freak <[email protected]> wrote: > > > Thanks Larry, > > > That's a great start! I figure with an overlay, I can block out the > > area around the city, I just then need to know how to map to the > > boundary of a city. Anyone ever do that? > > Lots of people. What country? If you just need to know the bounds > needed to display a city using the Google Maps API, the various > geocoders usually provide that in their output data. > > If you need the exact shape of the city it is a little more > challenging. > > -- Larry > > > > > > > > > > > Patrick > > > On Dec 6, 1:28 pm, "[email protected]" <[email protected]> > > wrote: > > > > On Dec 6, 9:11 am, Patrick Mollins <[email protected]> wrote: > > > > > Hey all, > > > > > I just want a map of my city that I can skin, and I can geotag some > > > > locations on the map. I'd like to make it somewhat interactive, ie > > > > being able to zoom in and pan, but a users shouldn't be able to pan the > > > > map outside of my city boundaries. Is there anyway to do this? > > > > Yes. Seems like you could do all of that with the v3 API. Mike > > > Williams has an example that does this for the v2 API in his tutorial: > > > More advanced stuff - Part 7 Restricting the range of map zooms and > > > pans.http://econym.org.uk/gmap/range.htm > > > > I don't know that anyone has ported that example to v3 or created an > > > example that does that, but you can search this group. > > > > -- Larry > > > > > Please help :D > > > > > Patrick- Hide quoted text - > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
