Get Screen Coordinates from Map Coordinates

2199
0
10-21-2014 07:54 AM
helenchu
Occasional Contributor II

Hi,

I'm trying to place a callout at my selected feature but my screen coordinates from map coordinates is not giving me the right point.  Anything I missed ?  Do I have to set spatialReference in my code ?  If yes, please show me how.  X,Y coordinate system of my layer:

NAD_1983_StatePlane_Texas_South_Central_FIPS_4204_Feet
WKID: 2278 Authority: EPSG

Projection: Lambert_Conformal_Conic

 

Attached is my code. 

 

 

Your help is greatly appreciated.

0 Kudos
0 Replies