Register  |  Login   Search
ThinkGeo - GPS Tracking and Mapping Solutions  |  Home  |  Cygnus Track  |  Developer Community
 
LivePerson Chat

Discussion Forums

The online community for users of Map Suite GIS components

Custom Track Zoom In Tool
Last Post 12-07-2007 11:14 AM by ThinkGeo. 6 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
DelioUser is Offline
Level 1
Level 1
Posts:4

--
11-23-2007 08:42 AM
I have tried to do a Track ZoomIn like Desktop version of MapSuite (user draw a rectangle in screen), but my redraw is slowly, because I draw the rectangle every Map mouse move event and after invoke Map.refreshDynamic().

How Can I solve this problem?


thanks
Delio Tomaz
Escopo - Brazil
liUser is Offline
Level 2
Level 2
Posts:52

--
11-28-2007 09:59 AM
Hi aztom,

You can set Map1.Mode = ModeType.TrackZoomIn;
to track zoom in, it is just like DesktopEdition.

Li
DelioUser is Offline
Level 1
Level 1
Posts:4

--
11-28-2007 11:15 AM
Hello lijun

But, if I do it, the rectangle doesn't paint on display...
I set Map1.Mode = ModeType.TrackZoomIn, but I want to draw a rectangle like DesktopEdition...
liUser is Offline
Level 2
Level 2
Posts:52

--
12-03-2007 09:44 PM
Hi,

It looks like that you have a way to draw the rectangle like DesktopEdition, but it is slow. Am I right?
If so, could you paste pieces of code to let us know how you did it? Maybe we could help you to find out the slowly reason.

Li
ThinkGeoUser is Offline
MVP
MVP
Posts:1591
Avatar

--
12-05-2007 11:07 AM
I wonder why you call Map.RefreshDynamic in the MouseMove event. To solve the problem of slow drawing of the Rectangle while TrackZoomIn, you would need to remove Map.RefreshDynamic from the MouseMove event.
DelioUser is Offline
Level 1
Level 1
Posts:4

--
12-06-2007 10:26 AM
I try to remove RefreshDynamic, but If I do this, the rectangle doesn't refresh when user "mouse move" on Map.

Can you help-me ?
ThinkGeoUser is Offline
MVP
MVP
Posts:1591
Avatar

--
12-07-2007 11:14 AM

Delio,

To better assist you with your question a ticket has been created for you in the Customer Portal. Please login to http://helpdesk.thinkgeo.com to view and respond to this ticket.

ThinkGeo Support

You are not authorized to post a reply.

Active Forums 4.1