smindel / silverstripe-gis

Adds support for geographic types.
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Make The Initial Layer Configurable #25

Closed gordonbanderson closed 5 years ago

gordonbanderson commented 5 years ago

1) Fixed the spelling of the variable satelite to satellite 2) Add a configurable static variable called initial_layer that if set to satellite will render a satellite view in the map editing widget. Any other value defaults to streets (so as to avoid no map appearing at all due to configuration errors)

Smindel\GIS\Forms\MapField:
  default_location:
    lat: 55.9411289
    lon: -3.3454205
  initial_layer: satellite