ol-contextmenu icon indicating copy to clipboard operation
ol-contextmenu copied to clipboard

For 'ol-contextmenu' the 'ol/control' differs in casing

Open StijnVandermeulen1 opened this issue 6 years ago • 1 comments

I have the following warning when importing ol-contextmenu:

There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.

at line 9 in ol-contextmenu/src/base.js:

export default class Base extends Control {

I think should be:

export default class Base extends control {

To be compatible with all other control classes of openlayers.

Kind regards, Stijn Vandermeulen

StijnVandermeulen1 avatar Oct 10 '18 10:10 StijnVandermeulen1

Any update on this? This is a problem since we created a npm package from our project and when we install it we get 'ol/control/Control dependency not found'. (should be ol/control/control)

StijnVandermeulen1 avatar Nov 09 '18 08:11 StijnVandermeulen1

Should be solved with #219

jonataswalker avatar Sep 23 '22 20:09 jonataswalker