Skip to content

Disable editing layers on load from external source (esri) #1520

Discussion options

You must be logged in to vote

You can try to overwrite it like we do with the Leaflet Layer Options:

import * as L from 'leaflet';
// redeclare module, maintains compatibility with @types/leaflet
declare module 'leaflet' {
/**
* Extends built in leaflet Layer Options.
*/
interface LayerOptions {
pmIgnore?: boolean;
snapIgnore?: boolean;
}

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Falke-Design
Comment options

Answer selected by marc-at-brightnight
@marc-at-brightnight
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants