PointAPI.overrideDefaultSize

 

long overrideDefaultSize(float size, int unitsEnum)

This method sets the default size to size, where size is a number not less than zero, in units given by unitsEnum, with possible values 0, 1, or 2 to indicate pixels, meters, or feet, respectively. When given in meters or feet, the size is relative to the surface of the Earth.  The effect of this is that as the user zooms in on the symbol, it gets bigger. When given in pixels, the size is relative to the view.  The effect of this is that as the user zooms in, the symbol size remains the same.  

The default size is used during the creation of transient point features, via create.  The initial default size is 15 meters.

The method returns 0 upon success, and an error code if either argument is invalid.