Methods
-
moveTo(position, zoom, options)
Leaflet/Controls/MousePosition.js, line 1474 -
This method is public.
It allows to control the execution of a movement.Name Type Description position Object position = {lon: , lat: }
zoom Number zoom
options Object Zoom/pan options
-
validateExtentCoordinate(coordType, value, e){Boolean}
Leaflet/Controls/MousePosition.js, line 1111 -
Validate Extend coordinate
Name Type Description coordType String Lat or Lon
value String coordinate
e Event event
Returns:
is within extent