Is it possible to add a point to a map series that has a longitude, latitude (I know how to do that from your previous exampe) and also a radius in miles?
Thanks
Ed Dressel
Adding a map point with a radius
Hi, Ed.
Draw a circle with specific x,y coordinate and radius ? The easeiest way to is to use chart Canvas.Circle method in chart OnAfterDraw event to draw a circle at specific coordinate and with specific radius. To transform from real world coordinates to screen coordinates (canvas methods require screen position) you can use TChartAxis CalcXPosValue, CalcYPosValue and CalcSizeValue methods.
Draw a circle with specific x,y coordinate and radius ? The easeiest way to is to use chart Canvas.Circle method in chart OnAfterDraw event to draw a circle at specific coordinate and with specific radius. To transform from real world coordinates to screen coordinates (canvas methods require screen position) you can use TChartAxis CalcXPosValue, CalcYPosValue and CalcSizeValue methods.
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
Hi, Ed.
You could use theTChartAxis.CalcSizeValue method to transform from real distance to "pixel distance". The result of this method is the amount in pixels that corresponds to a portion of the axis of size "Value" in axis scales.
You could use theTChartAxis.CalcSizeValue method to transform from real distance to "pixel distance". The result of this method is the amount in pixels that corresponds to a portion of the axis of size "Value" in axis scales.
Marjan Slatinek,
http://www.steema.com
http://www.steema.com