Hello all, I'm fairly new to Google Maps API but I've picked up the
basics from my previous programming knowledge.

The issue I am having is drawing polylines on my campus map for bus
routes, handicap routes, etc. I have no problem getting polygons to
show.

The map is located here: http://www.oswego.edu/~cutler/

Currently in the map file I have two attempts to get polylines to
show. The first is just a function meant to place a static path using
the new GPolyline. This one has no effect, though I may not have
placed it in the correct location. It can be found in lines 263-277.

The other attempt I made was a crude method of parsing the JSON file.
I currently use a JSON file for the 82 different polygon objects (the
function is found directly after the first example) and I tried to
create a way to add polyline data in the JSON file. If I remove the
polyline overlay on line 301 and replace it with the overlay on line
304 (thus negating the if statement) the coordinates for the polyline
in the JSON file is drawn as a polygon.

I tried searching for the past two days and haven't found any examples
pertaining to this exact problem I am having, though I apologize if
this is easily solved, I'm still fairly new.

Thank you for your time.

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