We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 152777c commit bfdb2a2Copy full SHA for bfdb2a2
src/view/Vmap/Vmapbox.jsx
@@ -114,6 +114,8 @@ export default class Vmap extends React.Component {
114
MapboxGl.accessToken = token;
115
116
const map = new MapboxGl.Map({
117
+ attributionControl:false,
118
+ logoPosition:'bottom-right',
119
container: this.container,
120
style: styleJS.toJS(),
121
hash: true
@@ -131,6 +133,10 @@ export default class Vmap extends React.Component {
131
133
renderPopup: this.renderPopup.bind(this)
132
134
}));
135
136
+ map.addControl(new MapboxGl.AttributionControl({
137
+ compact: true
138
+ }));
139
+
140
141
//console.log('map:',MapboxGl);
142
0 commit comments