[Users] hiding the printExtent

Marc Jansen jansen at terrestris.de
Wed Jul 21 11:07:58 CEST 2010


Hi list,

I am using the PrintExtent-plugin of GeoExt and want to hide a drawn 
printextent on the mappanel.

What is the suggested way of doing so?

The API (http://www.geoext.org/lib/GeoExt/plugins/PrintExtent.html) has 
no hide()-method. I could easily use the internal tearDown()-method but 
am unsure if this is the best way of solving my problem.

Background: I have an accordion and one of the elements contains the 
printing-form which adds the printExtent to the mappanel. Now when the 
user decides on opening another accordion element, I want to hide the 
printextent as to not confuse the user.

Best regards and thanks in advance,

Marc

-- 

   .................................................................
    Karten im (Inter|Intra)net?

    OpenLayers - Webentwicklung mit dynamischen Karten und Geodaten
    von M. Jansen und T. Adams, OpenSourcePress, München.

    ISBN: 978-3-937514-92-5
    URL:  http://openlayers-buch.de
   .................................................................


   Dipl.-Geogr. Marc Jansen
   - Anwendungsentwickler -

   terrestris GmbH&  Co. KG
   Irmintrudisstraße 17
   53111 Bonn

   Tel:    ++49 (0)228 / 96 28 99 -53
   Fax:    ++49 (0)228 / 96 28 99 -57

   Email:  jansen at terrestris.de
   Web:    http://www.terrestris.de

   Amtsgericht Bonn, HRA 6835
   Komplementärin:  terrestris Verwaltungsgesellschaft mbH
   vertreten durch: Hinrich Paulsen, Till Adams




More information about the Users mailing list