Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use bootstrap glyphicons or font awesome as markers #384

Open
earosb opened this issue Oct 30, 2017 · 0 comments
Open

How to use bootstrap glyphicons or font awesome as markers #384

earosb opened this issue Oct 30, 2017 · 0 comments

Comments

@earosb
Copy link

earosb commented Oct 30, 2017

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)"
			}
		}
	}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant