diff --git a/README.md b/README.md index 2a2fb09ffa..0ea8b22c41 100644 --- a/README.md +++ b/README.md @@ -9,16 +9,16 @@ This plugin depends on Font-Awesome for the rendering of the icons. The Font-Awe ## Using the plugin Copy the dist/images directory and css/js files to your project and include them: ````xml - + ```` ````xml - + ```` Now use the plugin to create a marker like this: ````js // Creates a red marker with the coffee icon -var redMarker = L.IconMarker.icon({ +var redMarker = L.AwesomeMarkers.icon({ icon: 'icon-coffee', color: 'red' })