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=&addr1=39.286466,-76.614919&addr2=39.289605,-76.584545&geocode=1&geocode=2

E.Pratt St (1)
http://www.geocodezip.com/example_geo2.asp?walking=yes&addr1=39.289937,-76.576037&addr2=39.290452,-76.56194&geocode=1&geocode=2

W. Pratt St
http://www.geocodezip.com/example_geo2_081104a.asp?waypts=yes&waypt=39.285582,-76.637774&addr1=39.284913,-76.652405&addr2=39.286466,-76.614919&geocode=1&geocode=2

then loading an xml file containing just those lines, like this:
http://www.geocodezip.com/GenericMapBrowser.asp?filename=PrattStBaltimore.xml

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
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