Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to display a circle on a Map in a custom manner

$
0
0

This example demonstrates how to create MapPolyline items, which allow displaying circles on a map. The circles' bounds are calculated using different rules:
The EquidistantCircleCreator class allows creating a polyline by calculating the distance from the center point on the Earth surface.
The ScreenCircleCreator class allows creating an polyline by calculating the distance from the center point by using the screen coordinates.
The bounds of the default MapEllipse item are calculated using complex logic that provides an intermediate result. 

The difference of these algorithms is mostly noticeable if a circle with a big radius is displayed close to the poles.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>