On Nov 10, 6:52 am, Timo <te...@connectiv.de> wrote:
> Thank you.
>
> But what is the normal way to get the coordinates of the first result?

I normally set a center early in the process so the map can load, then
call the geocoder.

Here is the first v3 map I ever did.  It centers on the location
returned by the geocoder (and is pretty much taken from google's
examples in the documentation):
http://www.geocodezip.com/GMapsExampleV3b.html

  -- Larry

>
> On Nov 10, 2:50 pm, "geocode...@gmail.com" <geocode...@gmail.com>
> wrote:
>
>
>
> > On Nov 10, 5:44 am, Timo <te...@connectiv.de> wrote:
>
> > > > I can't see where you are calling setCenter to initialize the map...
> > > > (you aren't)
>
> > > The setCenter Method is called in the function changeViewmap_area.
>
> > It may be there in the code (it is).
> > But it isn't being called with valid parameters.
>
> > > > You don't declare any of your variables (with the "var" keyword).
> > > > That often causes problems in IE.
>
> > > This problem ouccurs in every browser and everything works find
> > > till monday.
>
> > Well, I didn't know that.  And calling setCenter with valid parameters
> > makes tiles appear (albeit with the "zero size div" issue). See Chad's
> > answer.
>
> >   -- Larry
>
> > > On Nov 10, 2:38 pm, "geocode...@gmail.com" <geocode...@gmail.com>
> > > wrote:
>
> > > > On Nov 10, 5:24 am, Timo <te...@connectiv.de> wrote:
>
> > > > > Here is a test case with the explained problem:
>
> > > >http://vorab.connectiv.de/googlemaps/
>
> > > > I can't see where you are calling setCenter to initialize the map...
> > > > (you aren't)
>
> > > > You don't declare any of your variables (with the "var" keyword).
> > > > That often causes problems in IE.
>
> > > >   -- Larry
>
> > > > > Timo
>
> > > > > On Nov 10, 1:50 pm, Chad Killingsworth
>
> > > > > <chadkillingswo...@missouristate.edu> wrote:
> > > > > > Please take a look at the posting guidelines - we need a live link 
> > > > > > to
> > > > > > your map.
>
> > > > > > Chad Killingsworth- Hide quoted text -
>
> - Show quoted text -

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