[OpenLayers-Users] Adding forms to Layers

tino.desjardins at arcor.de tino.desjardins at arcor.de
Wed Jul 14 05:21:07 EDT 2010


If you want to create a new form, then create a new class which inherits from control:

OpenLayers.Control.YourControl = OpenLayers.Class(OpenLayers.Control, {

    initialize: function(options) {
        
        OpenLayers.Control.prototype.initialize.apply(this, [options]);
    },
    
    .....

    CLASS_NAME: "OpenLayers.Control.YourControl"
});

If you need a container for your control, use the class "Panel".

hope that helps

Tino


----- Original Nachricht ----
Von:     tino.desjardins at arcor.de
An:      emmexx at tiscalinet.it, kalyan.kamepalli at gmail.com
Datum:   14.07.2010 10:58
Betreff: Re: [OpenLayers-Users] Adding forms to Layers

> Hi,
> 
> another method is to build an uncompressed file by using the python-script
> "buildUncompressed.py" in the Folder "build".
> 
> regards
> 
> Tino 
> 
> 
> ----- Original Nachricht ----
> Von:     emmexx <emmexx at tiscalinet.it>
> An:      Kalyan Kamepalli <kalyan.kamepalli at gmail.com>
> Datum:   14.07.2010 08:16
> Betreff: Re: [OpenLayers-Users] Adding forms to Layers
> 
> > Il 14/07/2010 08:00, Kalyan Kamepalli scrisse:
> > > 
> > > I find it very hard to read the OpenLayers.js as it is compressed to
> > > reduce the size. Is there a way to get it back to a readable format ?
> > 
> > The source is in the package in lib/OpenLayers.
> > To debug your code you can link to lib/OpenLayers.js and use Firebug.
> > 
> > bye
> >     maxx
> > 
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> > 
> 
> -- 
> E-Cards: Schon fertig für die ganz Eiligen oder individuell zum
> Selbstgestalten - für jeden Anlass gibt´s die richtige E-Card auf arcor.de.
> http://www.arcor.de/rd/footer.ecard
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 

-- 
E-Cards: Schon fertig für die ganz Eiligen oder individuell zum Selbstgestalten - für jeden Anlass gibt´s die richtige E-Card auf arcor.de.
http://www.arcor.de/rd/footer.ecard



More information about the Users mailing list