Hello,

I have recently started an application using Google Maps V3, I want to
show information send from one point to another.

So far I try this  (http://gmaps-samples-v3.googlecode.com/svn/trunk/
xmlparsing/downloadurl_info.html) so I got markers from my .xml data
in the map.

Now I modify my file and included a part for links (not sure if this
is the best way):
<markers>
     <marker lat="61.884068"   lon="22.2969427"  name="house 1"/>
     <marker lat="60.9519798" lon="22.8619414" name="house 2"/>
     <marker lat="63.6994988" lon="23.3516832"  name="house 3"/>

    <links source:"1", target:"0", value:"1"/>
    <links source:"2", target:"3", value:"8"/>
    <links source:"3", target:"1", value:"10"/>
    <links source:"3", target:"2", value:"10"/>
    <links source:"3", target:"4", value:"10"/>
    <links source:"4", target:"1", value:"10"/>
</markers>

Now I want to add links between markers (it doesn't have to be any map
route) just a straight line, so source 1(house 1) will go to nowhere,
source 2(house 2) will go to house 3 and so on...so one house can go
to many, (the value is the amount of information that will later i
will use but that is not important now)

Should I use 
http://code.google.com/apis/maps/documentation/javascript/services.html#Directions
is the closest I found to what i want... but i would like to be
straight line -_-' I also consider Polyline but not sure how to use
with out making it by each marker.

Any help is greatly appreciated!

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to