AnsweredAssumed Answered

Marker Symbols

Question asked by jay.kapalczynski on Jul 29, 2014
Latest reply on Jul 30, 2014 by jay.kapalczynski

I got the below code for a marker symbol from JavaScript API examples....

I was wondering if there was a location I could go to to find the "setPath" for a push pin or other graphic symbol?

 

Is there a list of graphics and their associated numbers?

 

        var DrawmarkerSymbol = new SimpleMarkerSymbol();

        DrawmarkerSymbol.setPath("M16,4.938c-7.732,0-14,4.701-14,10.5c0,1.981,0.741,3.833,2.016,5.414L2,25.272l5.613-1.44c2.339,1.316,5.237,2.106,8.387,2.106c7.732,0,14-4.701,14-10.5S23.732,4.938,16,4.938zM16.868,21.375h-1.969v-1.889h1.969V21.375zM16.772,18.094h-1.777l-0.176-8.083h2.113L16.772,18.094z");

        DrawmarkerSymbol.setColor(new Color("#00FFFF"));

Outcomes