orthehelper
orthehelper

Reputation: 4079

How To Get Google Maps link From Current location?

I need to get the google maps link by pressing a button from the iPhone.

I already know how to get the coordinate long/lang. Now I need to convert it to a link.

I am working with CLLocation & MKMapview

Can anyone help me with that?

Upvotes: 1

Views: 423

Answers (2)

Bilgehan Saglik
Bilgehan Saglik

Reputation: 21

http://maps.google.com/maps?f=q&q=38.323480,26.767732

You can change those variables at the end and the link will open the google maps app no need for complicated programming

Upvotes: 2

AliSoftware
AliSoftware

Reputation: 32681

Read the "Apple URL Schemes" documentation. Everything about map links is detailed in this page.

Upvotes: 3

Related Questions