Anonymous user  |  Log in  |  Create Account
Message inside General Discussions

Drawing a circle

Answer 
#1 - 1/14/2010 8:14:46 PM Reporta abuso | PermaLink
greyhound
Fecha de registro: 1/8/2010
10 posts en todos los foros
Drawing a circle

Answer Quote
Very simple.

Pass longitude and latitude from geo lookup to map and plot a circle.

So far I have managed to centre the map but cannot plot the circle.

I understand that I need to call "InsideJavascipt" which I am doing when the page first loads the map.

All is good until I get to the javascript part. I can see you have posted an example of this for a client side click but there is nothing regarding drawing a circle from the server side. When I try and add my LngLat values into the "fromLatLngToPixel" function I get errors.

The reason I have bought this excellent control is so I dont have to mess about with javascript - please, please, please could you point me in the right direction here.
Top

Answers
De en 15
#2 - 1/19/2010 8:34:03 AM Reporta abuso | PermaLink
subgurim
Fecha de registro: 10/18/2006
2002 posts en todos los foros
RE: Drawing a circle

Answer Quote
Hi,

Did you try to add a polygon with a lot of sides?
Top
De en 15

Powered by Subgurim.NET