Google地图透明图片叠加 [英] Google Maps transparent image overlay

查看:94
本文介绍了Google地图透明图片叠加的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找覆盖地图的透明固定位置图像的一些例子。移动地图时,透明图像不应移动,标记应显示在图像顶部。



有人知道任何例子吗?

解决方案

一个div在另一个之上。它在地图中心定位了一个+标记。



http://code.google.com/p/gmaps-samples-v3/source/browse/trunk/geocoder/getlatlng.html



十字形图像是 http ://code.google.com/p/gmaps-samples-v3/source/browse/trunk/geocoder/crosshair.gif



测试在这里: http://jsfiddle.net/Q27DD/1/


Im looking for some examples of a transparent fixed postion image that overlays a map. When moving the map, the transparent image should not move and the markers should appear on top of the image.

Does anyone know of any examples?

解决方案

There's a way with a div on top of another one. It positions a + marker over the center of the map.

http://code.google.com/p/gmaps-samples-v3/source/browse/trunk/geocoder/getlatlng.html

the crosshair image is http://code.google.com/p/gmaps-samples-v3/source/browse/trunk/geocoder/crosshair.gif

Test here: http://jsfiddle.net/Q27DD/1/

这篇关于Google地图透明图片叠加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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