tombatossals/angular-openlayers-directive

How to use bootstrap glyphicons or font awesome as markers

Opened this issue · 0 comments

I want to use the bootstrap glyphicons or font awesome set as markers for a geojson layer. I have tried the following:

{
	"id": 1,
	"name": "Airports",
	"geometry": "POINT",
	"source": {
		"type": "GeoJSON",
		"url": "http://localhost.dev/airports.geojson"
	},
	"style": {
		"image": {
			"circle": {
				"radius": 5,
				"fill": {
					"color": "#87e467"
				}
			}
		},
		"text": {
			"font": "normal 18px 'Glyphicons Halflings'",
			"text": "\ue062",
			"fill": {
				"color": "rgba(255,0,0,1)"
			}
		}
	}
}