java - Adding a label to a Point on map in ArcGIS -
i have static points on map. use code draw them:
point = geometryengine.project(longitude, latitude, mapsr); pointgraphic = new graphic(point, symbol); graphicslayer.addgraphic(pointgraphic);
the point drawed on map.
now want add label - show under drawn point it's longitude , latitude. can using text adding, when resize map, text placement changes. want put label - let's on bottom right point. want sensitive zooming, , binded point.
i read dinamic labels, seems complex such simple request.
how can this?
thanks.
individual graphics don't have labels, can create 2 graphics same geometry. use current symbol 1 of them. other graphic, use textsymbol
, calling setoffsetx(float)
, setoffsety(float)
place way want.
Comments
Post a Comment