是否可以将此处的Maps API与其他基本地图(例如Bing,Google,OSM)结合使用? [英] Is it possible to use here's Maps API combined with another base map (e.g., Bing, Google, OSM)?

查看:83
本文介绍了是否可以将此处的Maps API与其他基本地图(例如Bing,Google,OSM)结合使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想尝试一下适用于JavaScript的Maps API.不幸的是,我现在已经绑定到另一个基本地图.我可以使用与此处的地图图块隔离的此处的Maps API吗?

I would like to try out here's Maps API for JavaScript. Unfortunately I am tied to another base map for now. Can I use here's Maps API isolated from here's Map Tiles?

推荐答案

这一切都取决于您使用Here API的目的.如果您使用的功能不依赖于地图图块,则可以随意在应用程序上使用所需的任何其他地图(例如,routing/places/traffic/etc).

It all depends on what you're using the Here API for. If you're using features that don't depend on the map tiles, you're free to use whatever other maps on your application you want (e.g. routing/places/traffic/etc).

我可能会建议使用REST api: https://developer.here.com/develop/rest-apis

I'd probably recommend using the REST api: https://developer.here.com/develop/rest-apis

当然,您可以出于相同的目的自由使用javascript api.只是将它们包装在js对象中.

Of course you're free to use the javascript api for the same purpose. It just wraps these in js object.

如果您要执行创建地图对象和自定义地图之类的操作,则不能使用Here api.如果您使用的是图块,则必须使用google maps api.

If you're looking to do things like creating map objects and customizing the map, you can't use the here api. You would have to do that using the google maps api if you're using their tiles.

这篇关于是否可以将此处的Maps API与其他基本地图(例如Bing,Google,OSM)结合使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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