Skip to main content

Posts

Showing posts with the label Loocation

Set multiple markers and image on google map swift 3

  let locations = [                     [ "title" : "Phase 11, Mohali" , "latitude" : 30.680177 , "longitude" : 76.745705 ],                     [ "title" : "Phase 6, Mohali" , "latitude" : 30.735547 , "longitude" : 76.712071 ],                     [ "title" : "Phase 106, Mohali" , "latitude" : 30.728100 , "longitude" : 76.717665 ]                 ]                          for location in locations {                     let marker = GMSMarker()                     marker.position = CLLocationCoordinate2D(latitude: location[ "latitude" ] as ! Double, longitude: location[ "longitude" ] as ! Double )   ...