Class: module:DataSources service:ngeoDataSources

ngeo.datasource.module:DataSources.ngeo.datasource.module:DataSources

new module:DataSources()

This service is responsible of the synchronization between the ngeo collection of data sources and a specific map. It listens to events that come directly or indirectly from the map and update the inner properties of the data sources.

The following data sources properties are synchronized here:

  • inRange: The map view 'change:resolution' event is listened and the property is updated depending on the current resolution.

Members

map

Set a map to this service. Null can be given to unset the map.