[OpenLayers-Trac] Re: [OpenLayers] #1050: Overviewmap not working
with google-sm
OpenLayers
trac-20090302 at openlayers.org
Wed May 18 08:49:12 EDT 2011
#1050: Overviewmap not working with google-sm
--------------------------+-------------------------------------------------
Reporter: stvn | Owner: euzuro
Type: feature | Status: new
Priority: minor | Milestone: Future
Component: Layer.Google | Version: 2.5 RC3
Keywords: | State:
--------------------------+-------------------------------------------------
Changes (by janise):
* cc: janise (added)
Comment:
Not sure if the reporter faced the same problem that I did, symptoms seem
to be similar. A workaround I found experimentally was to make sure that
the first call to "setCenter" of the map is done _after_ the overview map
control is already added to the map; and also make sure that the map's
projection and displayProjection are passed on to the overview map, as
well as maxExtent, although it is important that this is an independant
Bounds object (e.g. a map's maxExtent's clone), not the same.
I would certainly call this a bug not a new feature, though.
--
Ticket URL: <http://trac.openlayers.org/ticket/1050#comment:7>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list