NtkMapController class
NtkMapController for mobile versions of app
- Inheritance
-
- Object
- NtkMapControllerInterface
- NtkMapController
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
withtitle
buttons withnames
and callbacksacts
override -
addMarker(
LatLng point, dynamic callback(LatLng point)?) → dynamic -
Add a marker on the map
point
and returnedcallback
when you clicked on itoverride -
addPolyline(
List< LatLng> points) → dynamic -
Create polyline on List of
points
(also clear all previous polyline)override -
applyNewFilter(
MapFilter filter) → dynamic -
Update
filter
mapoverride -
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
andzoom
(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 isaccuracy
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited