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 ea759c0 commit f623074Copy full SHA for f623074
src/map/map.ts
@@ -822,7 +822,7 @@ export abstract class BaseMap extends Events implements BaseMapDefinition {
822
this.popup.setTarget(evt.latlng).open(`[${latlng.lat}, ${latlng.lng}]`);
823
if (
824
this.data.copyOnClick &&
825
- (evt.originalEvent.getModifierState(MODIFIER_KEY) || Platform.isMobile)
+ (evt.originalEvent.getModifierState("Shift") || Platform.isMobile)
826
) {
827
this.log(`Copying coordinates of click to clipboard.`);
828
await copyToClipboard(evt.latlng);
0 commit comments