On Nov 7, 2:56 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Nov 7, 2:03 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > On Nov 7, 12:28 pm, Anya <[EMAIL PROTECTED]> wrote:
>
> > > Hi, I'm new to the google map API and would like to create a map to
> > > display a number of city blocks. I thought that I could draw multiple
> > > GPolylines to dispaly the blocks but instead of having mulitiple
> > > seperate blocks drawn I only get one line that connects them all.
>
> > > An example of the page can be seen athttp://www.bbg.org/anya/maptest2.html
> > > . Can anyone guide me as to how to create a series of disconnected
> > > lines on a google map?
>
> > You need to create separate polylines.
>
> You would be better off geocoding the points offline using something
> like this:
> E. Pratt St 
> (2)http://www.geocodezip.com/example_geo2_081104a.asp?waypts=yes&waypt=&;...
>
> E.Pratt St 
> (1)http://www.geocodezip.com/example_geo2.asp?walking=yes&addr1=39.28993...
>
> W. Pratt 
> Sthttp://www.geocodezip.com/example_geo2_081104a.asp?waypts=yes&waypt=3...
>
> then loading an xml file containing just those lines, like 
> this:http://www.geocodezip.com/GenericMapBrowser.asp?filename=PrattStBalti...
>

For your data:

http://www.geocodezip.com/example_geo2.asp?walking=yes&addr1=8th%20avenue%20and%2013th%20street%20brooklyn%20ny%2011215&addr2=7th%20avenue%20and%2013th%20street%20brooklyn%20ny%2011215&geocode=1&geocode=2

http://www.geocodezip.com/example_geo2.asp?walking=yes&addr1=Montgomery%20and%20Washington%20Ave.%20brooklyn%20ny%2011225&addr2=Crown%20and%20Washington%20Ave.%20brooklyn%20ny%2011225&geocode=1&geocode=2

http://www.geocodezip.com/GenericMapBrowser.asp?filename=anya_brooklynNY.xml


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to