0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ipyleafletでbasemapの変更方法

Posted at

foliumよりもインタラクティブな操作ができるけど、
ipyleaflet ドキュメントが探しにくい。

航空写真にするのにbasemapの変更方法がわかりにくいのでメモ。
(APIの一覧があっても使い方があまり書いてない気がする)

import ipyleaflet
m = ipyleaflet.Map(center=(35.693406,139.749839), zoom=18, basemap=ipyleaflet.TileLayer(
    url="https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}",
    name="Google Satellite",
    attribution="Google",
    max_zoom=22,
))
m

これ調べる過程で見つけた、leafmap も気になる。デフォルトでたくさん機能がある。つくづく思う、便利な時代。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?