Open xyzbilal opened 2 years ago
if you create your own picker with custom behaviour remove isPicker:true
I tried but it didnt work.
can provide me more detail about what you tring to do
I had the same problem. onGeoPointClicked listener triggered when marker is clicked on Android but don't triggered on iOS.
ok i will check that
i check the problem i want to ask is that related to CustomPickerLocation
or in generale cases ?
I tried to debugprint onSinglePressMapClickListener
, onGeoPointClickListener
,onRegionIsChangingListener
events. onSinglePressMapClickListener
is called when I clicked to map but others never called in osm_controller
.
I guess it is not related to CustomPickerLocation. As much as I see you are using methodchannel calls from native to flutter instead off Event channels but method calls doesnt called, I could not debug native side because I could not understand to concept exactly. Maybe native side debugging is needed. Also I wonder why isPicker should be false for these callback function runs.
because isPicker attribute made to lightweight access to osm_flutter widget if you want to make picker you just will get location but if you want to make picker with custom behaviour no need to make isPicker true
I dont know what is the problem but these functions doesnt called on OSMFlutter widget. what can be the problem? I edited _CustomPickerLocationState like below for my purpose. I m testing on IPhone simulator