带有Google卫星层的Leaflet Map API [英] Leaflet Map API with Google Satellite Layer

查看:390
本文介绍了带有Google卫星层的Leaflet Map API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 Leaflet Map API 非常感兴趣。



但是,我需要能够使用Google卫星层。我一直无法找到如何将Google卫星图层添加到Leaflet的示例。我知道我仍然需要加载Google Maps API才能做到这一点(OpenLayers有一个例子)。

发布所有可用插件的官方页面: http://leafletjs.com/plugins.html



您会在那里找到插件,用于为Leaflet添加Google图层支持。


I'm very interested in the Leaflet Map API.

However, I need to be able to use the Google Satellite Layer. I have not been able to find an example on how to add a Google Satellite Layer to Leaflet. I understand that I will still need to load the Google Maps API to do this (OpenLayers has an example).

解决方案

Leaflet has an official page for publishing all available plugins: http://leafletjs.com/plugins.html

You will find plugins there for adding Google layers support to Leaflet.

这篇关于带有Google卫星层的Leaflet Map API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆