Skip to content

Commit

Permalink
feat: add channel change#Marker in android side (liodali#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
liodali committed May 18, 2022
1 parent cd57279 commit 8c08e72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,9 @@ class FlutterOsmView(
"update#Marker" -> {
updateMarker(call, result)
}
"change#Marker"->{
changePositionMarker(call,result)
}
"get#geopoints" -> {
getGeoPoints(result)
}
Expand All @@ -531,6 +534,10 @@ class FlutterOsmView(
}
}

private fun changePositionMarker(call: MethodCall, result: MethodChannel.Result) {

}

private fun getGeoPoints(result: MethodChannel.Result) {
val list = folderMarkers.items.filterIsInstance(Marker::class.java)
val geoPoints = emptyList<HashMap<String,Double>>().toMutableList()
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ packages:
path: "../flutter_osm_interface"
relative: true
source: path
version: "0.1.20"
version: "0.1.21"
flutter_osm_plugin:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "0.34.0"
version: "0.34.0+1"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
Expand Down

0 comments on commit 8c08e72

Please sign in to comment.