0
私はASPXプロジェクトを作成しました。チラシマップを統合したいと思います。リーフレット地図をaspxで使用するには?
HTMLページを使用する前にリーフレットを使用しましたが、現在ASPXではすべてを<asp:content>
タグ内に入れる必要があります。
マイコード
<asp:Content ID="MapPage" ContentPlaceHolderID="MainContent" runat="server">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-07I2e+7D8p6he1SIM+1twR5TIrhUQn9+I6yjqD53JQjFiMf8EtC93ty0/5vJTZGF8aAocvHYNEDJajGdNx1IsQ=="
crossorigin=""/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-A7vV8IFfih/D732iSSKi20u/ooOfj/AGehOKq0f4vLT1Zr2Y+RX7C+w8A1gaSasGtRUZpF/NZgzSAu4/Gc41Lg=="
crossorigin=""></script>
<div id="mapid" style="height:100px; width:100px;"></div>
</asp:Content>
私はまた、VS17はHTML5がcrossorigin
かintegrity
フィールド...いずれかを認識していないと言う... http://leafletjs.com/examples/quick-start/
自分のチュートリアルからのリンクやスクリプトタグを取りました提案?