标签: java google-maps google-maps-markers
例如此网址
http://maps.google.com/maps/api/staticmap?center=100,20&zoom=14&size=512x512&maptype=roadmap&markers=color:blue|label:S|40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318&markers=color:red|color:red|label:C|40.718217,-73.998284&sensor=false
如果我想在不重新加载页面的情况下更改标记,那是可能的,我使用java来显示我的地图..
答案 0 :(得分:1)
你可以在javascript上完成。
var markerOptions = {... put your image, variables and google.maps.Map object here }; var marker = new google.maps.Marker(markerOptions);