ThinkGeo.com    |     Documentation    |     Premium Support

Dragging on trackshapelayer

hello,
we have requirement in which we want to drag the map on when we are drawing the route(trackshapelayer) .so once we click and drag at same time that point (waypoint) should not be added instead map must be dragged.i think it can be done by trackinteractive overlay. if yes can you provide us with the sample code.
thanks and regards,
hrishikesh konde.

Hi hrishikesh,

I modify the sample based on your other topic.

You can track by left mouse and pan by right mouse at the same time.

9125.zip (101.5 KB)

Wish that’s helpful.

Regards,

Ethan

Hello Ethan,
we have this functionality but the client need is such that we want to drag on mouse leftbutton as well as track on the same click
thanks and regards,
Hrishikesh Konde.

Hi Hrishikesh,

I think that’s not easy to implement.

But I think the sample should be helpful for your custom code about it.

Regards,

Ethan