Package globus.glmap
Class GLMapVectorStyle
java.lang.Object
globus.glmap.GLNativeObject
globus.glmap.GLMapVectorStyle
@ParametersAreNonnullByDefault public class GLMapVectorStyle extends GLNativeObject
GLMapVectorStyle defines appearance of text inside GLMapMarkerLayer or GLMapView`.
Style used to render map is stored inside Style.mapcss file. Detailed MapCSS specification is located at: http://www.mapcss.org-
Method Summary
Modifier and Type Method Description static GLMapVectorStylecreateStyle(java.lang.String style)Creates style object.Methods inherited from class globus.glmap.GLNativeObject
disposeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
createStyle
Creates style object.GLMapVectorStyle style = GLMapVectorStyle.createStyle("{font-size:12;}");- Parameters:
style- String with style rule in MapCSS format.- Returns:
- New
GLMapVectorStyleobject or `null` in case of error
-