- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在为工厂开发 Web 应用程序,我需要添加带有工厂位置的谷歌地图在联系我们网页中。任何帮助我才刚刚开始网络开发
最佳答案
简单的方法 here为您完成所有工作。
Embedding a map into a website or blog
You can embed a simple map, a set of driving directions, a local search, or maps created by other users. Here's how:
- Ensure that the map you'd like to embed appears in the current map display.
- Click Link to this page in the top-right corner of the map.
- In the box that pops up, copy the HTML under 'Paste HTML to embed in website,' and paste it into the source code of your website or blog.
If you'd like to adjust the size of the map before you embed it, just click Customize and preview embedded map, select your preferred size, and take a look at the preview map. Once you're happy with what you see, copy the HTML that appears in the box at the bottom of the window.
Keep in mind that you won't be able to embed Traffic maps, Mapplets, and some other Maps features.
关于asp.net - 在 asp.net 应用程序中添加谷歌地图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3246038/
leaflet:一个开源并且对移动端友好的交互式地图 JavaScript 库 中文文档: https://leafletjs.cn/reference.html 官网(英文): ht
我是一名优秀的程序员,十分优秀!