amarsden

simple (hopefully) offset marker pin

Discussion created by amarsden on Jul 8, 2010
Latest reply on Mar 7, 2013 by rexbradford
Hi

I'm using

var IDsymbol = new esri.symbol.PictureMarkerSymbol('URL', 20, 34);
var graphic = new esri.Graphic(evt.mapPoint, IDsymbol);
map.graphics.add(graphic);

to add a Pin marker (like a Google one) where an identify request is made - but I want to offset the image, so the point of the pin is where the click was - I've had some quick goes at changing this but can't get it.

Cheers

ACM

Outcomes