you can use the following to first find the origin point on the map then
find the length in pixels of the radius.
mapMaxX, mapMinX //these are the minimum and maximum values for the real
world X coordinates
imageWidth //the width of your image in pixels
mapPointX //the real world X coordinate for the origin of your circle
mapWidth = mapMaxX - mapMinX
imagePointX = imageWidth * (mapPointX - mapMinX) / mapWidth
mapRadius //the radius of your circle ie. 1 mile
imageRadius = mapRadius*imageWidth/mapWidth
---Jason---
-----Original Message-----
From: Matt Liotta [mailto:[EMAIL PROTECTED]
Sent: September 22, 2004 11:03 AM
To: CF-Talk
Subject: RE: dynamic maps (GIS and other acronyms)
The problem isn't drawing the vectors; it is drawing them in context of the
map. For example, drawing a circle with a radius of 1 mile with a center of
x/y (lat/long).
-Matt
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]