In general, 'options' allows you to pass the name of any property
of the object, and it will be set on the object. To figure out what
properties are available for a given object, you can look at the 
"Parameters" section for that object.

You can read more about this in our documentation at:

  http://docs.openlayers.org/library/syntax.html#the-options-argument

-- Chris

On Mar 9, 2011, at 12:23 PM, ext Carlos Krefft wrote:

> Dear OpenLayers Users:
>  
> Within the open layers documentation I’ve noticed that “options” is many 
> times used to show that the constructor takes parameters. But where can I get 
> the details for this parameter {object}? How does one know what parameters it 
> accepts?
>  
> For example: below I have put the constructor documentation for 
> OpenLayers.Filter.Spatial. How do I know what parameters I can put within 
> {Object}?
>  
> OpenLayers.Filter.Spatial
> 
> Creates a spatial filter.
> 
> Parameters
> 
> options
> {Object} An optional object with properties to set on the filter.
>  
>  
>  
> Kind Regards,
> Carlos
>  
>  
>  
>  
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to