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

Navigate to shape location

1 Answer 55 Views
Map
This is a migrated thread and some comments may be shown as answers.
PetonUser
Top achievements
Rank 1
PetonUser asked on 14 Nov 2017, 07:46 AM
I have shapes from geojson om map and their list. How can I navigate and zoom to shape object with an shape object reference? 

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi
Telerik team
answered on 15 Nov 2017, 02:56 PM
Hi Marat,

I have already answered this question in the support ticked. I will post the answer here as well in case someone has the same question.

===
A possible solution is to find the center of the shape using the coordinates оf the shape. Then center and zoom the map:


===


Regards,
Georgi
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Map
Asked by
PetonUser
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or