Discussion Forums  >  Uncategorized

Replies: 1    Views: 245

Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
07/18/11 02:59 AM (14 years ago)

Desire for a new feature on the maps! Distance under description/sub-title.

HI David. I wonder if it possible to get the distance in the callout when you touch the pin on the map?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/18/11 03:43 AM (14 years ago)
Good idea. Did this awhile ago in a different project. If you're pulling the locations from a file it is. a) Send device location in data url. b) Prepare JSON locations list on backend. Title / Subtitle (with distance from) is created for each item. c) Force map to refresh each time it's loaded so sub-titles are updated. Asking the phone to do it after the items are downloaded it doable but super-duper-tricky.
 

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.