Map API

Nutiteq Maps Lib SDK enables developing advanced mobile mapping applications.
Platforms: Android, RIM BlackBerry, Java ME (J2ME)
Download maps API SDK »
Untitled Document

Products

» View demos
» Downloads

Uudised

Viimane: Thu, 15 Mar 2012 14:51:08
Teema: Vabad töökohad pakkuda
Veel uudiseid »

Kml place descriptions

2 replies [Last post]
mveggia
User offline. Last seen 2 years 33 weeks ago. Offline
Joined: 06/10/2009

I have a kml file with some elements with a title and description. I set a placelistener in the map to open a new form when user click on a place (of my kml) and i want to see in this new form the place title and the description (from kml). I see the object Place have the method getName but it don't have a method link getDescription... There is a way to get the place description?
Thanks!

jaak
User offline. Last seen 1 day 22 hours ago. Offline
Joined: 06/19/2008

Use:

final PlaceInfo info = mapComponent.getAdditionalInfo((Place) place);
String description = info.getDescription();

/JaakL