WindowsMapController class

this Class used to control in the map by: adding an event listener, set api key,get or set center and zoom...,adding or remove markers,polyline,polygons

Constructors

WindowsMapController()

Properties

apiKey String?
the javascript api key
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onBoundsChanged LatLngBoundsCallBack
an event runs on the bounds is changed
no getter
onCenterChanged LatLngCallBack
an event runs on the center is changed
no getter
onClick LatLngCallBack
an event runs on the muose left button clicked
no getter
onDoubleClick LatLngCallBack
an event runs on the muose left button double clicked
no getter
onIdle VoidCallBack
an event runs on the map be idle(loading)
no getter
onMapInitialed VoidCallBack
an event runs on the map is created
no getter
onMouseDown LatLngCallBack
an event runs on the muose down
no getter
onMouseMove LatLngCallBack
an event runs on the muose is moveing on the map
no getter
onMouseUp LatLngCallBack
an event runs on the muose up
no getter
onRightClick LatLngCallBack
an event runs on the muose right button clicked
no getter
onZoomChanged CallBackValue
a event runs on the zoom is changed
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addMarker(Marker marker) → void
Adding a new marker to the map.
addPolygon(_BasePolygon polygon) → void
Adding a polygon to the map that can any of Polygon,MapRectanlge,MapCircle
addPolyline(Polyline polyline) → void
Adding a new polyline to the map.
fitBounds(LatLngBounds bounds) → void
set the bounds of the map
getBounds() Future<LatLngBounds>
return the current bounds of the map
getCenter() Future<LatLng>
return the current Center of the map
getZoom() Future<int>
return the current zoom of the map
initMap() → void
create the Map usually call it in initState affter finshing the setup of the map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
panBy(double x, double y) → void
Changes the center of the map by the given distance in pixels. If the distance is less than both the width and height of the map, the transition will be smoothly animated. Note that the map coordinate system increases from west to east (for x values) and north to south (for y values).
panTo(LatLng point) → void
Changes the center of the map to the given LatLng. If the change is less than both the width and height of the map, the transition will be smoothly animated.
panToBounds(LatLngBounds bounds) → void
Pans the map by the minimum amount necessary to contain the given LatLngBounds
removeMarker(Marker marker) → void
Remove a marker from the map.
removeMarkerById(int? id) → void
Remove a Marker from the map by its id.
removePolygon(_BasePolygon polygon) → void
remove a polygon from the map that can any of Polygon,MapRectanlge,MapCircle
removePolygonById(int id) → void
remove a polygon from the map that can any of Polygon,MapRectanlge,MapCircle by its id
removePolyline(Polyline polyline) → void
Remove a plyline from the map.
removePolylineById(int? id) → void
Remove a Polyline from the map by its id.
setCenter(LatLng latLng) → void
set the center of the map
setZoom(int zoom) → void
set the zoom of the map
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited