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 GLMapVectorStyle createStyle​(java.lang.String style)
    Creates style object.

    Methods inherited from class globus.glmap.GLNativeObject

    dispose

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createStyle

      public static GLMapVectorStyle createStyle​(java.lang.String style)
      Creates style object.
      
      	 GLMapVectorStyle style = GLMapVectorStyle.createStyle("{font-size:12;}");
          
      Parameters:
      style - String with style rule in MapCSS format.
      Returns:
      New GLMapVectorStyle object or `null` in case of error