Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leaflet 1.7.0 - Saying .rotated is not a function! #19

Open
BobbyRuby opened this issue Jan 11, 2024 · 1 comment
Open

Leaflet 1.7.0 - Saying .rotated is not a function! #19

BobbyRuby opened this issue Jan 11, 2024 · 1 comment

Comments

@BobbyRuby
Copy link

BobbyRuby commented Jan 11, 2024

var topleft = L.latLng(40.52256691873593, -3.7743186950683594), topright = L.latLng(40.5210255066156, -3.7734764814376835), bottomleft = L.latLng(40.52180437272552, -3.7768453359603886); var overlay = L.imageOverlay.rotated(".\common\5A09_NUM_FTG.tif", topleft, topright, bottomleft, { opacity: 0.4, interactive: true, attribution: "&copy; <a href='http://www.ign.es'>Instituto Geográfico Nacional de España</a>" }).addTo(map);

Not working... I'm developing an engineering platform for my company. Just don't understand why this won't work.

load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2 Uncaught TypeError: L.imageOverlay.rotated is not a function
at HTMLDocument. (post.php?post=619&action=edit:9500:31)
at e (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)

@IvanSanchez
Copy link
Owner

Can you publish a fiddle/codepen/plunkr that displays this behaviour?

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

No branches or pull requests

2 participants