On May 1, 10:34 pm, Bruce <[email protected]> wrote:
>
> I would like to have all the marker data in one data file  The four
> map files would then access the marker data in the data file and
> display it.  That way I would only have to update one file each time
> there is a change to the data.
>
> Can anybody tell me how I would go about doing this?

I would suggest adding something which sets the centre of the
displayed map. You can do that with a querystring.

http://www.google.com/search?hl=en&q=javascript+querystring

Let's say you name your single map "florida.html". You could call it
with something like /maps/google/florida.html?r=central and then your
querystring code extracts the "r" parameter and sets the map centre
accordingly. Or you could pass the coordinates you want as the
centre: /maps/google/florida.htm?y=31&x=-83 and use those directly.

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