RadMap and US Counties

1 Answer 59 Views
Map
Tom
Top achievements
Rank 1
Tom asked on 02 Sep 2021, 06:18 PM
I have RadMap opening in a WebForms application using Bing tile services. It works. What I'm trying to do is color code counties based on data values. How would I go about doing something like that?

1 Answer, 1 is accepted

Sort by
0
Accepted
Eric R | Senior Technical Support Engineer
Telerik team
answered on 07 Sep 2021, 03:23 PM

Hi Tom,

A new layer of the map would need to be added to display the counties over the Bing Maps Tile Layer.

The new layer should represent the shapes and will require using a Client-Side Data Source that is a GeoJson dataset of the each county shape. To color the county based on data, modify the shape colors in the OnShapeCreated JavaScript event.

For an example, see the Client-side Data Binding demo. Note that the demo uses the OpenStreetMap Tile Layer but this could be changed to use the Bing Maps layer as well

Additionally, a good source of US Counties is https://eric.clst.org/tech/usgeojson/ which was referenced in the US Counties Map forum thread.

Please let me know if you need any additional information. Thank you for being a valued UI for ASP.NET AJAX developer.

Regards,


Eric R | Senior Technical Support Engineer
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tom
Top achievements
Rank 1
commented on 22 Sep 2021, 07:07 PM

Very helpful. Thank you!
Tags
Map
Asked by
Tom
Top achievements
Rank 1
Answers by
Eric R | Senior Technical Support Engineer
Telerik team
Share this question
or