How do you rotate Google Maps custom image markers in GWT? I would like to add and rotate individual icons based on a bearing.
目前,我把标识构筑成一个便衣标记,如下:
Icon icon = Icon.newInstance(imageUrl);
MarkerOptions markerOptions = MarkerOptions.newInstance(icon);
Marker marker = new Marker(point, markerOptions);
map.addOverlay(marker);