my workaround...
asigned following function to
http://www.mario-baldauf.org/tlmf/map/bilder/addmapcontrol.gif
with id=addmapcontrol style=position:absolute; z-index:100; top/right
(lower left corner
function addMapControl(){
var OverviewMapControl= new GOverviewMapControl(new GSize(200, 150));
m
i also would like a clue on how to auto hide the overview map
i was using .hide just like mentioned above
On Mar 10, 1:17 pm, David C wrote:
> Do you have any suggestions on what to wait on? As you mention on that
> page, .getOverviewMap() does not work since v2.135, and v2.149 is no
> exception
Do you have any suggestions on what to wait on? As you mention on that
page, .getOverviewMap() does not work since v2.135, and v2.149 is no
exception.
The map load event happens too early in the sequence to be able to
call .hide() on the overview map control, and even installing my own
listener a
There's been a change in the modularization of the overview map control.
In v2.148 it was part of the mod_controls module, but in v2.149 it has
its own mod_overviewmapcontrol module, thus reducing the size of
mod_controls by 2.6k.
The mod_overviewmapcontrol module interface doesn't "pipeline"
It looks like GOverviewMapControl.hide() no longer works to auto-
minimize the overview map on page load in v2.149.
The code I've used for a while (I don't recall which version of the
API I started using it with) is
var ov = new GOverviewMapControl();
map.addControl(ov);
ov.hide(true);
The exam