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;

Deprecated

instead you can use:

scheduler.config.map_settings = {
    error_position: {
       lat: 15,
       lng: 15
    }
}

Example

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


Default value:

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

The property requires the map_view plugin to be activated.

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
Change log

deprecated since v7.1

Back to top