I just had the same problem - decided to do a quick and dirty conversion and host on github.
https://github.com/nathan-muir/fontawesome-markers
You can manually include the JS file, or use npm install fontawesome-markers
or bower install fontawesome-markers
.
Just include the javascript file fontawesome-markers.min.js
and you can use them like so:
new google.maps.Marker({
map: map,
icon: {
path: fontawesome.markers.EXCLAMATION,
scale: 0.5,
strokeWeight: 0.2,
strokeColor: 'black',
strokeOpacity: 1,
fillColor: '#f8ae5f',
fillOpacity: 0.7
},
clickable: false,
position: new google.maps.LatLng(lat, lng)
});
Edit (April-2016): There's now packages for v4.2 -> v4.6.1
google.maps.Symbol
using SVG notation. Then you'd be able to use them as symbols – MaureFont Awesome Google Maps
thing and host them on Github/Bitbucket. I think the Font Awesome license would permit that. – MaureMaki
. I'm thinking of porting that into SVG – Maure