Closed markprotas closed 10 years ago
Thanks, didn't realize the marker API worked without an icon name. Just now looking at the documentation at https://www.mapbox.com/developers/api/static/#markers I see that color is now also optional.
Your change omits the use of letters (a-z) and digits (0-9) which are also allowable in addition to the icon names. I think I'll just rework the code a little to take into account the optional parameters. Thanks for the pull request!
Good call- I didn't need alphanumerics for my use case but it makes sense to support their use.
Null-valued icon and color options are now handled. Thanks for the input!
...hat a colored marker will be drawn without a nested icon