Map API

MGMaps Lib SDK is professional toolkit to develop mobile mapping applications.
Platforms: iPhone, Android, RIM BlackBerry, Java ME (J2ME)
Download maps API SDK »
Untitled Document

Products

Latest news

Last at Mon, 6 Sep 2010 12:27:06
Topic: Let your feedback ideas flow
See more news »

Nutiteq on Twitter

11 weeks 6 days ago Nutiteq is proud sponsor of StateOfTheMap 2010 #sotm10

Checking screen bounds

1 reply [Last post]
kalipka
User offline. Last seen 28 weeks 2 days ago. Offline
Joined: 02/17/2010

Hi,

I'm working with J2ME and I would like to move automatically the map if the place marker is too close from the screen edges.

My question is : how can i detect that a place marker will be drawn near a screen edge ?

Thanks in advance.

jaak
User is online Online
Joined: 06/19/2008

General idea would be that the GeoMap has methods wgsToMapPos() and mapPosToWgs() and you can use them with map the current center and your marker coordinates.

/JaakL