JMap.Layer.attributeExists
Returns true if the layer has the given attribute.
The JMap layer id
The JMap attribute name
Error if layer is not found
// returns true if the attribute named "SPECIES" exist on layer id=4 JMap.Layer.attributeExists(4, "SPECIES") Copy
// returns true if the attribute named "SPECIES" exist on layer id=4 JMap.Layer.attributeExists(4, "SPECIES")
JMap.Layer.attributeExists
Returns true if the layer has the given attribute.