swift - How to get objects/locations from google mp cluster on iOS? -


is there way objects/locations/markers google map cluster on ios. how list of objects cluster when user taps on it. there solution in swift? answers.

i found solution. used method below gmuclusterrendererdelegate delegate , casted userdata gmucluster. after items.

func mapview(_ mapview: gmsmapview, didtap marker: gmsmarker) -> bool {      guard let cluster = marker.userdata as? gmucluster else { return false }      print(cluster.items)      print("didtap cluster")      return true } 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -