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" });
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.