Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am trying to extend Symbol class in ARGIS Flex API. this is my widget named TestWidget http://pastebin.com/04w6RSur and here is the extended symbol class http://pastebin.com/bqhDzdSe named CustomSymbol placed in Test package in flexviewer 2.

I had drawn a circle and a line in CustomSymbols sprite like this:

sprite.graphics.beginFill( 0x0000FF,1 );
sprite.graphics.drawCircle(0,0,100);
sprite.graphics.endFill();  
sprite.graphics.lineStyle(5,0xFF0000,1);
sprite.graphics.lineTo(mapPoint.x+100,mapPoint.y+100);

when I zoom into map it shrinks its size and when I zoom out it grows accordingly. What I want is make it retain its size whether I am zooming in or zooming out.

Thanks

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.