Select to view content in your preferred language

Change origin of the Map Marker

561
1
11-22-2013 02:42 PM
CoryJorgensen
Deactivated User
I am adding Markers to the map using Longitude and Latitude.  I can't seem to figure out how the marker as added to the map per its location.  Does the image center automatically?  It doesn't look like it does.  I am adding markers to the standard street map layer.  My marker seems to have an origin at the top left corner.  Is there a way to change it.  I would like to make a marker like a pin, where the pin portion on the map is at the location, not the whole image.  Any ideas?
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
By default the origin of a PictureMarkerSymbol is teh top/left of the symbol.
You can change that by setting the XOffset and YOffset properties.
0 Kudos