Not sure I quite understand, but I usually set the offset to half the height, so that the bottom of the marker, usually a pointer or flag will be at the actual x/y of the graphic. var pm_sym = new esri.symbol.PictureMarkerSymbol({ url: "images/stop-sign_alt.png", height: 26, width: 24, yoffset: 26 / 2, type: "esriPMS" });
var pm_sym = new esri.symbol.PictureMarkerSymbol({ url: "images/stop-sign_alt.png", height: 26, width: 24, yoffset: 26 / 2, type: "esriPMS" });
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.