cutting-room-floor / markers.js

DEPRECATED: USE MAPBOX.JS
http://mapbox.com/mapbox.js
BSD 3-Clause "New" or "Revised" License
18 stars 9 forks source link

Add class for markers #10

Closed dhcole closed 12 years ago

dhcole commented 12 years ago

@tmcw what do you think about adding a default class to simple style markers, like the default factory does? something like .mmg-marker?

tmcw commented 12 years ago

What would be the use case?

dhcole commented 12 years ago

Styling the markers. Maybe altering their opacity for a highlight-on-hover effect or, as I've done on a few projects now, add an outline with another marker by using a ::before pseudo element: