map_error_position

sets the position that will be displayed on the map in case the event's location can't be identified

LatLng map_error_position;

Example

scheduler.config.map_error_position = new google.maps.LatLng(51.477840, -0.001492);
...
scheduler.init('scheduler_here',new Date(2013,05,11),"map");

Required extension: ext/dhtmlxscheduler_map_view.js

Default value:

google.maps.LatLng(15, 15)
Applicable views:Map View
Details

The 'error position' will be applied in 2 cases:

  1. An event doesn't have one of the coordinates (or both of them) specified (i.e. a coordinate has value '0', 'null', 'undefined') and the map_resolve_event_location option is disabled.
  2. An event doesn't have one of coordinates (or both of them) specified and the map_resolve_event_location option is enabled, but the scheduler can't resolve the location.
See also
Back to top