function openlayers_layer_type_osm::options_init in Openlayers 7.2
Same name and namespace in other branches
- 6.2 includes/layer_types/osm.inc \openlayers_layer_type_osm::options_init()
Provide initial values for options.
Overrides openlayers_layer_type::options_init
File
- plugins/
layer_types/ openlayers_layer_type_osm.inc, line 15 - OSM Layer Type
Class
- openlayers_layer_type_osm
- OpenLayers OSM Layer Type class
Code
function options_init() {
return array(
'layer_handler' => 'osm',
'type' => 'png',
) + parent::options_init();
}