こんにちは、Esri Leafletマップにtif画像をオーバーレイしたいです。ウェブレイヤー(Layer type: tile)を作成してオーバーレイしようとしましたが、404エラーが返されました。これは私が作成したタイルレイヤーです: https://tiles.arcgis.com/tiles/x5wCko8UnSi4h0CB/arcgis/rest/services/HAND_Raster/MapServer<\/P>
このレイヤーを.<\/L>.<\/esri>関数でオーバーレイしようとしました。ウェブレイヤーを作成してオーバーレイする方法はラスター データをオーバーレイする正しい方法でしょうか?もし違うなら、ラスターをどのようにオーバーレイすればよいでしょうか?もし正しいなら、オーバーレイできなかった原因は何でしょうか?<\/P>
Hi, thank you for the question.
It looks like your service's spatial reference is 4269. Note on the L.esri.TiledMapLayer documentation page:
Your map service must be published using the Web Mercator Auxiliary Sphere tiling scheme (WKID 102100/3857) and the default scale options used by Google Maps, Bing Maps and ArcGIS Online. Esri Leaflet will not support any other spatial reference for tile layers.
https://developers.arcgis.com/esri-leaflet/api-reference/layers/tiled-map-layer/
So, please publish your tiled service following those requirements, then you can use L.esri.TiledMapLayer.
Thanks!
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.