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

      • createStyle

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