hi,
thank you, that was exactly what I need!
best regards

On Aug 24, 5:58 pm, Marcelo <[email protected]> wrote:
> On Aug 24, 4:59 pm, "in.gogle.i.trust" <[email protected]>
> wrote:
>
> > Now when I don't zoom, just drag the map, everything works fine. But
> > when I change the zoom level (e.g. I zoom out) => I see "more" on the
> > screen. But the function
> > fromDivPixelToLatLng doesn't change the output, because I don't move
> > the card, just zoom. However now the wrong areas are affected and the
> > wrong thing will be drawn to the map.
>
> Aha! :-)
> ... but that's because you're using *DIV* pixels, and the <div>
> holding the map does not change.
> What you probably want is fromLatLngToPixel(latlng,zoom) and
> fromPixelToLatLng(pixel,zoom), without the 'DIV' part:
>
> http://code.google.com/apis/maps/documentation/reference.html#GMercat...
>
> --
> Marcelo -http://maps.forum.nu
> --
>
>
>
> > So I need to a function fromDivPixelToLatLng(point, zoomLevel). Is it
> > now clear to you?
>
> > On Aug 24, 4:22 pm, Marcelo <[email protected]> wrote:
>
> > > I'd suggest that you describe the goal, not the 
> > > step:http://www.catb.org/%7Eesr/faqs/smart-questions.html#goal
>
> > > I can't imagine what you possibly could want that for.
>
> > > --
> > > Marcelo -http://maps.forum.nu
> > > --
>
> > > On Aug 24, 3:57 pm, "in.gogle.i.trust" <[email protected]>
> > > wrote:
>
> > > > Hi
> > > > I have a question. I would need the function "fromDivPixelToLatLng"
> > > > but with an additional parameter, namely the zoom-level of the card.
> > > > Can anybody help me?
> > > > In other words, something like fromDivPixelToLatLng(point, zoomLevel)
--~--~---------~--~----~------------~-------~--~----~
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