[OpenLayers-Users] Question on using Google Maps API on top of
OpenLayers
Dr. Franz-Josef Behr
franz-josef.behr at hft-stuttgart.de
Wed Jul 18 02:17:11 EDT 2007
Mike,
Christopher Schmidt wrote:
> One of the features I beileve you mentioned wanting was the ability to
> have popup automatically slide into view. Great, in theory. Except that
What's about calling a small function which recenters the map before
poping up the popup?
>> like a lot of us need better popups and this could be a way to
provide it
I'd like to say that I appreciate the clarity of OL's popups instead of
Google's toy-like ones.
Mit freundlichen Grüßen / Regards / Cordialement
Franz-Josef Behr
---------------------------------------------------------------
"What does education often do?
It makes a straight-cut ditch of
a free, meandering brook"
H.D. THOREAU
---------------------------------------------------------------
Prof. Dr. Franz-Josef Behr - Home Office
Author of: Strategisches GIS-Management - http://www.gismngt.de
eMail: franz-josef.behr at hft-stuttgart.de
http://www.gis-news.de
Tel: 0721 / 453980-1 sowie 45 33 35
Fax: 0721 / 453980-7 sowie via web.de: 01212-5-12048213
Christopher Schmidt schrieb:
> On Tue, Jul 17, 2007 at 05:53:32PM -0600, Mike Carsella wrote:
>> Can you at least entertain the idea of exposing the GMap2 object? It looks
>> like a lot of us need better popups and this could be a way to provide it
>> easily until better OL popups are developed.
>
> Unfortunately, doing so leads to a whole host of other problems.
> One of the features I beileve you mentioned wanting was the ability to
> have popup automatically slide into view. Great, in theory. Except that
> as soon as that happens, the Google Map has moved without the OpenLayers
> map moving at the same time. The end result is that OpenLayers and
> Google have a different idea of where the map is centered, which results
> in crazy behavior in extreme cases, but in all cases is going to be
> behavior that users don't want.
>
> The events model in OpenLayers doesn't cooperate well with Google popups
> -- zoomboxing and letting go over one will get your zoombox 'stuck' so
> it can't be released.
>
> etc.
>
> What seems like a simple solution leads to a number of interface
> issues. Not exposing the object is a design decision based on this type
> of problem, and although I understand the desire, it's not something we
> can support without creating more problems than we solve.
>
> Regards,
More information about the Users
mailing list