RunnymedeGIS

Json Geometry Object - how to set size of point marker symbol?

Discussion created by RunnymedeGIS on Aug 22, 2011
Latest reply on Aug 22, 2011 by jeff.pace
Hi


I am using the Map2PDF REST service provided by Rahul Ravikumar and am trying to set the point symbol's style when graphics are added to the map. When I set this within my API it does not seem to translate over to the js file so I am looking at altering the code within the js file itself...


The following code is what is provided when setting the point symbol:-


else if (geometry instanceof esri.geometry.Point) {
          geometries.push({
            "geometryType" : "esriGeometryPoint",
            "x" : geometry.x,
            "y" : geometry.y,
            "symbol" : graphics[i].symbol.toJson()
          });


How can this be modified to specifically set the size of the point?


Thanks

Outcomes