public static String getDefaultMapElementNodeName ( Class < ? extends MapElement > type ) { if ( MapPolyline . class . isAssignableFrom ( type ) ) { return NODE_POLYLINE ; } if ( MapPoint . class . isAssignableFrom ( type ) ) { return NODE_POINT ; } if ( MapPolygon . class . isAssignableFrom ( type ) ) { return NODE_POLYGON ; } if ( MapCircle . class . isAssignableFrom ( type ) ) { return NODE_CIRCLE ; } if ( MapMultiPoint . class . isAssignableFrom ( type ) ) { return NODE_MULTIPOINT ; } return null ; }
Replies the default name of the XML node for the given type of map element .