On 25 Jun., 01:33, "[email protected]" <[email protected]>
wrote:
> On Jun 24, 3:54 pm, Harald Effenberg <[email protected]> wrote:

> > Onhttp://www.effenberg.de/maps-v3-1 there is a DIV with the ID
> > "coordinates" in the center of the bottom which should display
> > latitude and longitude.
> > It works well when you click somewhere into the map.
> > But it should display the coordinates of the center of the map already
> > at the start - no matter, if I start it at it's "home-position" 
> > http://www.effenberg.de/maps-v3-1.htm
> > or with geocoding like http://www.effenberg.de/maps-v3-1.htm?mainstreet
> > (just like http://www.effenberg.de/maps does)
>
> > So I wrote
>
> > document.getElementById("coordinates").innerHTML =
> > zentrum.toUrlValue(6);
>
> > into line 197.
> > But nothing happens.

> I suspect the div with id="coordinates" is not available during the
> initialize function.
>
> A possible work around: you have a reference to it: koordinatenText,
> use that.

Hi Larry,

thank you for your answer!

I have already tried
koordinatenText = zentrum.toUrlValue(6);

but within the initialize function it has also no effect
and when I write it into the function koordinatenSchreiben it cannot
work
because I don't have the argument before the geocoding is done.

Any other idea?

Best regards
Harry

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