adding support for leaftlet/mapbox