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");
Default value:
google.maps.LatLng(15, 15)
Details
The property requires the map_view plugin to be activated.
The 'error position' will be applied in 2 cases:
- 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.
- 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