public class GLMapVectorCascadeStyle
extends java.lang.Object
GLMapVectorCascadeStyle is used to define appearance of GLMapVectorObject. One style could be used with many GLMapVectorObjects.
Style used to render map stored inside Style.mapcss. Detailed MapCSS specification is located at: http://www.mapcss.org
MapCSS examples:
Any point with tag natural=peak, should be displayed on zoom level 11+ with trangle icon tinted with brown color.
node|z11-[natural=peak] {
icon-image:"triangle.svgpb";
icon-tint:brown;
}
Any point with tag natural=peak, should display it's localized name on zoom level 13+.
node|z13-[natural=peak] {
text: eval( locTag('name') );
text-color:brown;
font-size:12;
}
| Modifier and Type | Class and Description |
|---|---|
static interface |
com.glmapview.GLNativeObject.Type |
| Modifier and Type | Method and Description |
|---|---|
static GLMapVectorCascadeStyle |
createStyle(java.lang.String style)
Creates cascade style object.
|
void |
dispose() |
public static GLMapVectorCascadeStyle createStyle(java.lang.String style)
GLMapVectorCascadeStyle style = GLMapVectorCascadeStyle.createStyle("area{fill-color:#10106050;}");
style - Source code of style.GLMapVectorCascadeStyle object or `null` in case of errorpublic void dispose()
Copyright © 2017 GetYourMap. All Rights Reserved.