How can i fix the multi-selection marker issue?
Can i make if the marker clicked then call notifier to select only one marker?
or lets advice what can i do!

How can i fix the multi-selection marker issue?
Can i make if the marker clicked then call notifier to select only one marker?
or lets advice what can i do!
Set and call a Spinner ?
do you mean like that?
but didnt work
am adding a clock for updating locations so the same point has many markers so i wanna just when click on the marker choose only one without making the error showing in the video above
I do not know, it is not obvious as to what you want to do.
First you ask to select a single marker ( I presume from a list of markers...) after clicking on a marker, now you are setting a notifier with what appears to be unrelated data ?
lets check these blocks to understand what am doing with the marker
first am storing auto updating locations by a clock
and its showing liike that
so when click the marker its making an error and showing like that
as there are many markers in the same point
so i wanna select only one marker and not make in like in the video
something like
if the marker clicked then call the notifier else dont call the notifier
Sorry, your blocks and explanation do not help me understand.
Perhaps:
You have multiple markers in the same location?
When a user clicks on a marker, multiple markers return their clicked event ? (which does not appear to be possible, only the top marker is returned - oh, on testing actually it does!)
You only want one marker (which one?) to return its clicked event ?
The button click event sets three markers to the same location.
When user clicks on a marker there, we add the markers clicked to a list
This list is set to spinner, the users selects one of the markers, and the marker description is returned
To call a notifier you need and event Block and a method so perhaps something like this?
He is using runtime Markers in his real project
how??? I don/t but ,maybe perhaps? to click the Marker on the map he wants. If this is on one Screen.
@TIMAI2 @SteveJG
nope any marker click didnt work as well
i got tired of adding a run time marker in my project lol, i have not any other ideas that marking only one marker, here is the sample file attacked to check
reviewtest.aia (21.7 KB)
If there is a way for keeping all data fixed for all users with updating only latitude and longitude it will be better and great but if it can't be then we can just fix the multi selecting marker only and it will fix as well
thanks so much for your response but am confused about two points,
1: in my project initialze the driver location only should be added and the customer the clock time enabled should be false as the customer who is choosing the nearest drivers only while drivers locations are being added in the list only
and where can i add these data below in the clock while its time enabled will be false
2: can we eliminate duplicates from the spinner list?
my location is the passenger marker, while the rest are driver markers
That's actually rhe wrong question
The correct question is, why are there duplicates in your drivers list?
You get the list of drivers from your Google Spreadsheet?
Use the group by statement... we already have been talking about this in one of your several other threads
Taifun
the sample runtime markers project is createed by steve @SteveJG so in the project he is storing locations in a list so it is duplicating the same user marker location several times when clicking on the store location button data so i make it by a clock to be automated so the customer can just click on find nearest one but when clicking you will find many markeres stored in the same point, i didnt find a way indeed to make this eliminated than trying to make the user choosing only one marker when clicking
Along time ago I suggested the code be essentially customer driven. I showed a way how to calculate the nearest driver to the customer. This keeps the app less complex. The app need only to display the customer location. You decided you also had to show the driver locations. I explained that is not necessary.
The model I suggested didn't allow the customer to select a driver. It was done by the app. I don't think it advisable or needed to allow she/he to get choosey. Let the app select.
Let the code determine the nearest available driver. I showed one way a long time ago. using the CloudDB. You are now using a FirebaseDB which behaves similarly by not exactly in the same way.
yes you are right nut i suggested to be by firebase to be an updated list by users as you sent me before locations existed in the file not the cloud! as the file location wasnt helping