如何制作“风格”谷歌地图iframe看起来很新 [英] How to make the "style" of a google maps iframe look new

查看:149
本文介绍了如何制作“风格”谷歌地图iframe看起来很新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下iframe与谷歌地图:

<正如你所看到的,谷歌地图在这里看起来比较老:方形按钮和控件。


我想要的是这样的:


一个更好看的谷歌地图。圆形按钮和控件...

如何创建类似的内容?我一直在努力解决这个问题,但没有取得任何成功。

Thanks!

I have the following iframe with google maps:

As you can see, google maps looks older here: square buttons and controls.

What I'd like to have is something like this:

A much better looking google maps. Round buttons and controls...
How do I create something like this? I've been trying to work around this, but without any success.
Thanks!

推荐答案

也许你应该考虑使用Google Maps JavaScript API。基本使用并不困难,它以您想要的方式显示控件。

Maybe you should consider using Google Maps Javascript API. It is not hard for basic use and it shows the controls the way you want.

示例: https://developers.google.com/maps/documentation/javascript/examples/?hl=zh_CN

这篇关于如何制作“风格”谷歌地图iframe看起来很新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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