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" });
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.