Package globus.glmap

Class GLMapVectorStyle


  • 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 Detail

      • createStyle

        public static GLMapVectorStyle createStyle​(@NonNull
                                                   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