Discussion Forums  >  Uncategorized

Replies: 3    Views: 172

Racer X
buzztouch Evangelist
Profile
Posts: 129
Reg: Mar 24, 2011
Boston, MA
5,490
12/03/11 10:23 AM (14 years ago)

HTML language to get Latitude and Longitude to open phones native map

I want to insert a latitude and longitude coordinates into an HTML file so that it creates a link for the user. When the user taps the coordinate hypertext the phones map open just like it would for an address. I cant seem to get the lat/long to work. Does anyone know the html language tags to make this work?
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
12/03/11 04:31 PM (14 years ago)
Hi Racer X, Have a look at the Documentation at the section on Merge Fields: http://www.buzztouch.com/docs/v1.5/mergeFields.php The general idea is that you can append data to a link request, and if the page that link links to understands what to do with that data, something useful will occur. So you could have a HTML screen in your app link to a location amp screen with the location already set in that map screens properties, or you could have that map screen gets its data from a URL where in the URL link you use merge fields to submit the lat and lon of the device making the request. As far as I know there isn't a <map> tag for html. See: http://www.w3schools.com/html/
 
Kahuna
Apple Fan
Profile
Posts: 137
Reg: Nov 18, 2011
Milan
4,670
like
12/03/11 06:01 PM (14 years ago)
Do you need a static map or a map related to the device lat/lon coordinates?
 
Racer X
buzztouch Evangelist
Profile
Posts: 129
Reg: Mar 24, 2011
Boston, MA
5,490
like
12/03/11 10:57 PM (14 years ago)
Thanks Parker, I'll take a look, Kahuna, I have a BT map screen that I want to link to an HTML screen or document. So when the user tape the pin on the map it brings up the HTML screen with some info, but then there is a link on the page (latitdue and longitude) they can tap then navigate to with thier native map on an iphone.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.