Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ba0f16

Browse files
committed
wip
1 parent 1ef3e86 commit 2ba0f16

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/plots/mapbox/layout_attributes.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ module.exports = {
7272
}
7373

7474
// custom geojson or topojson layers
75-
layers: {
76-
77-
}
75+
// layers: { }
7876

7977
};

src/plots/mapbox/mapbox.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,11 @@ proto.createMap = function(fullData, fullLayout, resolve) {
108108
opts._input.zoom = opts.zoom = map.getZoom();
109109
});
110110

111+
// does not work !!
112+
map.addControl(new mapboxgl.Navigation());
111113

112114
// TODO hover labels
115+
map.on('mousemove', function() {});
113116

114117
};
115118

src/traces/scattermapbox/plot.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ function ScatterMapbox(mapbox, uid) {
4141
});
4242

4343
// how to add 'symbol' layer ???
44+
// https://www.mapbox.com/mapbox-gl-js/example/geojson-markers/
45+
//
46+
// which appear to support arrayOk attributes
4447
}
4548

4649
var proto = ScatterMapbox.prototype;

0 commit comments

Comments
 (0)