[Mapbender-users] Overviewmap activating/deactivating

Kai Behncke Kai-Behncke at gmx.de
Tue Feb 12 08:42:23 EST 2008


Dear users,

found a solution by myself.

The steps are to create and implement a new button.

At the "attributs" in editing gui elements it has:
onClick='init_ausblenden()' border='0' title="Übersichtskarte Ein/Ausblenden"
Tagret: mapframe1
Javascript: mod_ausblenden.php

mod_ausblenden.php looks like:


function init_ausblenden(){
  var ov=document.getElementById('overview');
  if(!ov)return true;
  if(ov.style.display=="none"){
  
    ov.style.display="block"
  } else {
    ov.style.display="none"

  }
  return true;
}


That`s it.

Best Regards, Kai






-------- Original-Nachricht --------
> Datum: Mon, 11 Feb 2008 12:00:08 +0100
> Von: "Kai Behncke" <Kai-Behncke at gmx.de>
> An: mapbender_users at lists.osgeo.org
> Betreff: [Mapbender-users] Overviewmap activating/deactivating

> Dear list,
> I`m looking for a solution to activate/deactivate the overview-map in
> mapbender. Does anybody have a solution for that or ideas how to programme it?
> 
> Thank you very much, Kai
> -- 
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


More information about the Mapbender_users mailing list