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 »

How to draw rectangular region to on the map?

1 reply [Last post]
vsriram_i
User offline. Last seen 38 weeks 4 days ago. Offline
Joined: 08/17/2011

Hi,
I want to draw a enlargable rectangle box on the map to mark the region I want to download. So I have the following questions:
1. How do I draw the enlargable rectangle on the map.
2. How can I convert the screen coordinates to lat and long.
3. Is there any standard library that can draw the rectangle and expand or contract based on touch.

Any suggestions would be appreciated.

Thanks,

V. Sriram

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

We don't have readymade function or widget for it. You would need to draw Polygon on map, track touch state and movements, also do calculations from screen pixels to geographic coordinates which are needed for Polygons. Polygon dragging and moving is quite complex action with all the different states: start drawing, drawing, finishing, later editing etc. During dragging events you need to turn of map dragging.

/JaakL