Changing Map location title and subtitle

Use this Forum to post tips and techniques for using LongReach. Please explain in detail. This Forum is managed by the LongReach user community. LANSA cannot guarantee the accuracy of any information posted to this Forum.
Post Reply
Posts: 67
Joined: Fri Dec 09, 2011 7:52 am

Changing Map location title and subtitle

Post by alick » Tue Dec 13, 2011 12:04 pm

When you drop a pin onto a LongReach location map, the title and subtitle properties are empty.

By default, LongReach will substitute the string 'Location' and 'Lat,Long values' for these empty values.

The location file is a simple JSON object, UTF-8 encoded.

You or a server program could modify/generate location files and change these values.

{"annotations":[{"title":"North Sydney Council","lng":"151.207471","lat":"-33.834345","subtitle":"200 Miller St"}]}

Now when you tap the pin, 'North Sydney Council' and '200 Miller St' will appear in the label.

Post Reply