OpenLayers 3 Examples
Points
Text:
Hide
Normal
Shorten
Wrap
MaxReso.:
384,000
19,200
9,600
4,800
2,400
1,200
600
300
150
75
32
8
Align:
Center
End
Left
Right
Start
Baseline:
Alphabetic
Bottom
Hanging
Ideographic
Middle
Top
Font:
Arial
Courier New
Verdana
Weight:
Bold
Normal
Size:
Color :
O. Color:
O. Width :
Lines
Text:
Hide
Normal
Shorten
Wrap
MaxReso.:
384,000
19,200
9,600
4,800
2,400
1,200
600
300
150
75
32
8
Align:
Center
End
Left
Right
Start
Baseline:
Alphabetic
Bottom
Hanging
Ideographic
Middle
Top
Font:
Arial
Courier New
Verdana
Weight:
Bold
Normal
Size:
Color :
O. Color:
O. Width :
Polygons
Text:
Hide
Normal
Shorten
Wrap
MaxReso.:
384,000
19,200
9,600
4,800
2,400
1,200
600
300
150
75
32
8
Align:
Center
End
Left
Right
Start
Baseline:
Alphabetic
Bottom
Hanging
Ideographic
Middle
Top
Font:
Arial
Courier New
Verdana
Weight:
Bold
Normal
Size:
Color :
O. Color:
O. Width :
Vector labels example
Example of GeoJSON features with labels.
See the
vector-labels.js source
to see how this is done.
geojson, vector, openstreetmap, label