Hello,
I have many thousand points which describes a polyline on a Google
map. The HTML-File looks like there:
http://code.google.com/intl/de/apis/maps/documentation/javascript/overlays.html#Polylines

I want to make many different polylinemaps. I automaticly convert my
gpx-file into the google html-code.

My problems are:
1. How can calculate which zoom level I need to see the hole line? My
website only has a width of 600 pixel. So the map's width also is 600
pixel. Does Google has an option which automaticly calculate the right
zoom level? Or do I have to calculate the zoom level for my own?

2. Does Google has an option which automaticly calculate the centre of
the polyline?

Greetings
Julian

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

Reply via email to