Skip to content

Conversation

@luka-mikec
Copy link
Contributor

This PR removes a check which seems to be incompatible with Rollup. I wrote more details here: GeoTIFF/georaster-layer-for-leaflet#109

I believe the removal of this check does not have negative consequences. If one of the remaining conditions, typeof proj4.defs !== "function", is satisfied, then unless the body of the if is executed, the line below (proj4.defs(defs);) will fail. So doing the additional check (which I propose to remove) does not affect whether the code will throw an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants