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

MapPath Visualization Layer doesn't drawing

6 Answers 63 Views
Map
This is a migrated thread and some comments may be shown as answers.
Pavel
Top achievements
Rank 1
Pavel asked on 27 Aug 2019, 02:12 AM

Hello there, i have a Information layer with MapPath curves and the items are drawing fine, but i can't select that, but when i change the Information Layer on Visualization Layer, i can select the objects but there are not drawing.

Pls help.

6 Answers, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 29 Aug 2019, 02:13 PM

Hello Pavel,

Speaking generally, the VisualizationLayer is the newest visualization engine of the RadMap and we recommend using it over the other layers. 

That said, I am uncertain what you mean by " i can select the objects but there are not drawing.". Can you check out the Items Selection article in our documentation and also the VisualizationLayerItemsSelection SDK example? 

If the mentioned resources prove unhelpful, can you share some sample code of how the RadMap is setup and how the layer is populated with items?

Regards,
Vladimir Stoyanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Pavel
Top achievements
Rank 1
answered on 29 Aug 2019, 02:50 PM
The main problem: i draw a curves on information layer with mappath, but i cant make it on visualization layer, the curves are not drawing.
0
Vladimir Stoyanov
Telerik team
answered on 02 Sep 2019, 11:18 AM

Hello Pavel,

I will need some more information in order to help you out further. Can you share some sample code showing how the RadMap is defined and also the way that the VisualizationLayer is populated? Additionally, you can elaborate on which Map Shape Data objects you are using. This will hopefully allow me to reproduce the same result on my end and investigate it.

For the time being, you can compare your approach with the one demonstrated in the VisualizationLayerItemsSelection SDK example.

Regards,
Vladimir Stoyanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Pavel
Top achievements
Rank 1
answered on 04 Sep 2019, 06:54 AM

I commit the my test project on guthub.

https://github.com/lapinosore/TelerikMapPractice

 

(The MapPath curves are not drawing, but i need select them, need solution for that)

0
Martin Ivanov
Telerik team
answered on 06 Sep 2019, 02:05 PM

Hello Pavel,

I will check the project and get back to you later.

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Martin Ivanov
Telerik team
answered on 06 Sep 2019, 07:48 PM

Hello Pavel,

The VisualizationLayer doesn't draw the TechMapPath shapes because they inherit the MapShape (MapPath) object. VisualizationLayer doesn't work with MapShape objects. Instead, you will need to use MapShapeData. You can read more about this in the Map Shape Data article.

In your case, you can replace the MapPath with PathData. I've  updated your project to show this approach. I hope it helps.

As a side note, I would ask you to remove the Telerik dlls from the GitHub repository or replace them with a trial version, because the repo is public and the dlls are licensed.

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Map
Asked by
Pavel
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Pavel
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or