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" });
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.