Get action of myLocation button in GMSMapView iOS swift

Problem:

In GMS Mapview there is an option already available for showing the mylocation Button.But it will show in right bottom corner.But i want to create a button with my custom based and add an action to that.Is that possible?



Solution:


Ya it's absolutely possible.In previously


myGMSmapView.settings.myLocationButton = true

But in custom button you cannot enable that option.Do as your custom and achieve that.

review the below link .

https://www.blogger.com/blogger.g?blogID=1352438660899899223#editor/target=post;postID=4882476065633439192;onPublishedMenu=stats;onClosedMenu=stats;postNum=1;src=postname


Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift