NtkMapController class

NtkMapController for mobile versions of app

Inheritance

Constructors

NtkMapController.new({required String viewId})
NtkMapController for mobile versions of app

Properties

hashCode int
The hash code for this object.
no setterinherited
markers Map<LatLng, dynamic Function(LatLng point)>
Markers point and callback
getter/setter pairinherited
markersAction Map<String, Function>
Markers id and callbacks(for custom markers)
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewId String
viewId of frame
getter/setter pairinherited

Methods

addCustomMarker({required LatLng point, required String title, MapMarkerIconModel? icon, required List<MapButtonClass> buttons, List<String>? images, List<MapMarkerContentModel>? content}) → dynamic
Create marker on point with title, in this marker you may configure a button and its callback on point with title buttons with names and callbacks acts
override
addMarker(LatLng point, dynamic callback(LatLng point)?) → dynamic
Add a marker on the map point and returned callback when you clicked on it
override
addPolyline(List<LatLng> points) → dynamic
Create polyline on List of points (also clear all previous polyline)
override
applyNewFilter(MapFilter filter) → dynamic
Update filter map
override
clearAllMarkers() → dynamic
Remove all Markers
override
goToPoint(LatLng point) → dynamic
Move center camera on point (like panTo in leaflet)
override
goToPointThenZoom(LatLng point, double zoom) → dynamic
Move camera to point and zoom (like flyTo in leaflet)
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateCurrentPosition(LatLng point, double accuracy) → dynamic
Update current position on map This create a circle and marker with center in point Radius of circle is accuracy
override

Operators

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