com.esri.core.map
Class FeatureUtil

java.lang.Object
  extended by com.esri.core.map.FeatureUtil

public class FeatureUtil
extends Object

The Class FeatureUtil.

Since:
10.1.1

Constructor Summary
FeatureUtil()
           
 
Method Summary
static Graphic newGraphic(int uid, Geometry geometry, Symbol symbol, Map<String,Object> attributes, InfoTemplate infoTemp)
          Created a Graphic with the given UID.
static Graphic newGraphic(int uid, Geometry geometry, Symbol symbol, Map<String,Object> attributes, InfoTemplate infoTemp, int drawOrder)
          Created a Graphic with the given UID.
static void updateFeatureSetGeometryType(FeatureSet fs, Geometry.Type type)
          Update feature set geometry type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureUtil

public FeatureUtil()
Method Detail

updateFeatureSetGeometryType

public static final void updateFeatureSetGeometryType(FeatureSet fs,
                                                      Geometry.Type type)
Update feature set geometry type.

Parameters:
fs - the featureset
type - the type
Since:
10.1.1

newGraphic

public static final Graphic newGraphic(int uid,
                                       Geometry geometry,
                                       Symbol symbol,
                                       Map<String,Object> attributes,
                                       InfoTemplate infoTemp)
Created a Graphic with the given UID.

Parameters:
uid - the uid of the new Graphic
geometry - the geometry using by the graphic
symbol - the symbol to draw the graphic with
attributes - the attributes of the graphic
infoTemp - the infoTemplate of the graphic
Returns:
the new Graphic instance.
Since:
10.1.1

newGraphic

public static final Graphic newGraphic(int uid,
                                       Geometry geometry,
                                       Symbol symbol,
                                       Map<String,Object> attributes,
                                       InfoTemplate infoTemp,
                                       int drawOrder)
Created a Graphic with the given UID.

Parameters:
uid - the uid of the new Graphic
geometry - the geometry using by the graphic
symbol - the symbol to draw the graphic with
attributes - the attributes of the graphic
infoTemp - the infoTemplate of the graphic
Returns:
the new Graphic instance.
Since:
10.1.1


Copyright © 2012. All Rights Reserved.