Currently, the default styling for the map is handled in the createMap function. If you didn't want the default gray fill and white stoke, you either have to manually adjust the map before running createMap() or override the function entirely to add you defaults.
I'd be nice if there was an attribute that contained the CSS the map used by default. That way you can just override that value and leave the functions alone or even have a third options object that could take CSS and other params. On the extreme, perhaps take the styling out entirely and require folks to add CSS themselves.
Currently, the default styling for the map is handled in the
createMap
function. If you didn't want the default gray fill and white stoke, you either have to manually adjust the map before runningcreateMap()
or override the function entirely to add you defaults.I'd be nice if there was an attribute that contained the CSS the map used by default. That way you can just override that value and leave the functions alone or even have a third options object that could take CSS and other params. On the extreme, perhaps take the styling out entirely and require folks to add CSS themselves.
Just a thought.