Skip to content

Commit bfdb2a2

Browse files
committed
source panel updates and new logo
1 parent 152777c commit bfdb2a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/view/Vmap/Vmapbox.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ export default class Vmap extends React.Component {
114114
MapboxGl.accessToken = token;
115115

116116
const map = new MapboxGl.Map({
117+
attributionControl:false,
118+
logoPosition:'bottom-right',
117119
container: this.container,
118120
style: styleJS.toJS(),
119121
hash: true
@@ -131,6 +133,10 @@ export default class Vmap extends React.Component {
131133
renderPopup: this.renderPopup.bind(this)
132134
}));
133135

136+
map.addControl(new MapboxGl.AttributionControl({
137+
compact: true
138+
}));
139+
134140

135141
//console.log('map:',MapboxGl);
136142

0 commit comments

Comments
 (0)