On Jan 9, 8:45 pm, Andrew Leach <[email protected]> wrote:

> The infoWindow is still attached to the map, which means it moves with
> the map, not markers. That hasn't changed.
>
> There are options onOpenFn and onCloseFn, which you could use to save
> the content to global variables and restore it. It wouldn't be quite
> so long-winded as you make it 
> sound.http://code.google.com/apis/maps/documentation/reference.html#GInfoWi...
>
> Andrew

OK, well my point is just that this approach is fundamentally
wrong...  I mean, the infowindow is attached to the marker, right?
There's no point in using it for the map itself, after all...
Therefore the approach is fundamentally flawed and something obviously
associated with the marker (it's a method thereof) should be linked to
the marker (there can only be one infowindow open at any one time)
that caused the infowindow to open. As there is a "getpoint" method
(which surely should have been renamed "getlatlng" at the same time as
the marker method changed) then there should be a corresponding
"setpoint" equivalent. It's common sense.  If you were designing it
now, you would insist upon it, I know I would.

If I had popped up my own div layer then I certainly wouldn't want to
have to destroy it and recreate it just to move it. DHTML has been
around for long enough now that simply changing the object's anchor
should not be that big a deal.  Surely the default action for an open
infowindow should be to move with the marker that opened it when that
marker is dragged?  The marker moves with the map, the overlay moves
with the map, surely the overlay should move with the marker?

I just think that to simply accept what appears to be such a
fundamental flaw as "one of those things" is not the way to improve
this great tool that Google have given us.

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