简体   繁体   English

在HTML5和JavaScript中使用Google Maps Indoor Map API

[英]Use Google Maps Indoor Map API in HTML5 and JavaScript

I want to create a indoor map application using HTML5 and JavaScript. 我想使用HTML5和JavaScript创建室内地图应用程序。 I have created a simple road map application, but when I click to zoom in on any indoor compatible building/mall, there are no levels or flooring options. 我创建了一个简单的路线图应用程序,但是当我点击放大任何室内兼容的建筑物/商场时,没有任何关卡或地板选项。 So, are indoor features supported with HTML5 and Javascript? 那么,HTML5和Javascript支持室内功能吗?

In any normal Google Map in a mobile application, when we zoom in to any indoor building so it's enabled and show the floor wise map on screen. 在移动应用程序中的任何普通Google地图中,当我们放大到任何室内建筑物时,它都会启用并在屏幕上显示地板明智的地图。

Looks like the JavaScript v3 API does not yet support indoor maps. 看起来JavaScript v3 API还不支持室内地图。 But it might come. 但它可能会来。

The official page says it will be available: https://www.google.com/maps/about/partners/indoormaps/ 官方网页表示, 可用: https://www.google.com/maps/about/partners/indoormaps/

"In addition to making the content available to our users in Google Maps, your indoor map will also be available through the Google Maps APIs for use in your mobile applications or website ." “除了在Google地图中向我们的用户提供内容外,您还可以通过Google Maps API获取室内地图,以便在移动应用或网站中使用 。”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM