Class: SyncDataSourcesMap service:ngeoSyncDataSourcesMap


new SyncDataSourcesMap(ngeoDataSources)

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.
Name Type Description
ngeoDataSources ngeo.DataSources

Ngeo collection of data sources objects.