This is a migrated thread and some comments may be shown as answers.

Two Maps

1 Answer 22 Views
Map
This is a migrated thread and some comments may be shown as answers.
Pavel Ruslanovich Kovyev
Top achievements
Rank 1
Pavel Ruslanovich Kovyev asked on 21 Jun 2010, 11:16 AM
Добрый день.
Если я хочу отображать две карты поверх друг-друга, у меня возникает несколько вопросов.
1. В карте, которая находится сверху, фон прозрачный, и сквозь тайлы хорошо видно нижнюю карту. Но как синхронизировать их, чтобы они перемещались одновременно?
Если я обрабатываю события верхней карты, узнаю ее новые параметры и затем задаю такие же параметры для нижней, то в итоге они сойдутся (секунды через 2-3), но вот анимация портит весь эффект: верхняя карта движется быстрее чем нижняя. Когда отключаю анимацию - тоже проблема: если двигаю карту нажатием левой кнопки мыши, то пока не отпущу карту, нижняя никак не реагирует, хотя верхнюю передвигаю без проблем.
Как их синхронизировать? Есть ли другой способ?

Good afternoon. 
If I want to display two maps on top of each other, I have a few questions. 
1. In the map, which is on top, background transparent, and through the tiles can clearly see the bottom map. But how to synchronize them so that they move simultaneously? 
If I process the events of the upper map, get to know her new options, and then ask the same parameters for the bottom map, then eventually they will converge (2-3 seconds), but the animation here spoils the whole effect: the top map moves faster than the bottom map. When the turn off the animation - also a problem: if you move the map by clicking the left mouse button, it still will not let the map, the bottom does not react, although the top removed without problems. 
How to synchronize them? Is there another way?

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 22 Jun 2010, 01:26 PM
Hello Pavel Ruslanovich Kovyev,

Unfortunately the scenario when 2 maps are ABSOLUTELY synchronized on mouse move is not possible in the current version of the RadMap. Synchronization using CenterChanged event is the only way to do both maps have same position.

We have the feature in our plans which seems will help you to implement your scenario with one map tiles are shown over another. But this feature will be available in 2010.Q3 release only.

You can check availability of this feature using our PITS: http://www.telerik.com/support/pits.aspx#/public/silverlight/31

Kind regards,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Map
Asked by
Pavel Ruslanovich Kovyev
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or