谷歌地图标记光标

时间:2011-10-27 12:36:10

标签: google-maps-api-3

我需要一些建议来更改标记光标。我有这段代码:

marker = new google.maps.Marker( {map: g_map_obj,
                                  clickable: true,
                                  draggable: true,
                                  position: e.latLng,
                                  visible: true,
                                  title: "hola",
                                  cursor: g_static_files +"eraser.cur",
                                  icon: g_static_files + 'castle.png'} );

......但这不起作用。

1 个答案:

答案 0 :(得分:0)

.cur文件类型可能存在问题。请尝试使用.png。

相关问题