Skip to content

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

@BobbyRuby

Description

@BobbyRuby

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions