anderolujun

Problem of displaying graphics on mapview

Discussion created by anderolujun on Aug 22, 2012
Latest reply on Aug 23, 2012 by andrewb
I have drawn 2 graphics on the same point.
   
Graphic graphic = new Graphic(new Point(x, y),new SimpleMarkerSymbol(Color.BLACK, 12, STYLE.CIRCLE));

//...omit some code
PictureMarkerSymbol symbol = new PictureMarkerSymbol(image);
Graphic g = new Graphic(point, symbol);

layer.addGraphic(g);
layer.addGraphic(graphic);



As shown,one is a circle,another is a picture.They both locate at the same point.And when i double click on the map to zoom ln,the circle is still on the map Point while the picture deviate from the Point.When u zoom in more and more ,the
deviation becomes larger and larger.

Outcomes