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 »

labelClicked in PlaceLabel not called

3 replies [Last post]
echeng
User offline. Last seen 32 weeks 1 day ago. Offline
Joined: 07/08/2011

I created a Class MyLabel that extends PlaceLabel.

However, when I click/touch the label in the map, the labelClicked() is not called.

Basically I'd like to recognize touch/click event for the Label and do further action.

Please advice.

Enoch

jaak
User offline. Last seen 4 days 19 hours ago. Offline
Joined: 06/19/2008

Please send your label class to support@nutiteq.com and we are happy to take a look on it and improve it if needed.

/JaakL

Muhammad Atif Q...
User offline. Last seen 9 weeks 3 days ago. Offline
Joined: 01/08/2012

Hi I am also trying to consume click on label how to do it as LabelClicked is not working

new Place(idNo, new PlaceLabel("my location")
{

public void labelClicked(int screenX, int screenY,
int displayWidth, int displayHeight,
int clickX, int clickY) {
System.out.println("my label is clicked man !!!");
super.labelClicked(screenX, screenY, displayWidth, displayHeight, clickX,
clickY);
}

thanks in advance

jaak
User offline. Last seen 4 days 19 hours ago. Offline
Joined: 06/19/2008

The Blackberry demo project https://bitbucket.org/nutiteq/blackberry-map-samples/ has couple of working custom label samples: ClickTestLabel.java and BalloonLabel.java , you can check out from there how it should work.

/JaakL