Skip to content

Commit

Permalink
fix(BaseMap): Fix cartodb map resolution in BaseMap.
Browse files Browse the repository at this point in the history
  • Loading branch information
binh-dam-ibigroup committed Jun 2, 2020
1 parent 692d003 commit ae5ff5a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/base-map/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,10 @@ BaseMap.defaultProps = {
{
name: "Streets",
url:
"//cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}{retina}.png",
"//cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}@2x.png",
attribution:
'Map tiles: &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, &copy; <a href="https://carto.com/attributions">CARTO</a>',
maxZoom: 20,
retina: "@2x",
detectRetina: true
maxZoom: 20
}
],
maxZoom: 20,
Expand Down

0 comments on commit ae5ff5a

Please sign in to comment.