Cosmetic change: fix of marker appearance in location editor. It will always look like the vbGoogleMap red marker, rather than Google Maps's default marker. Assumes the line numbering of the previous fix.
In product-vbgooglemapme.xml:
Line 863:
map.addOverlay(new GMarker(point, icon));
to
map.addOverlay(new GMarker(point, {icon:icon}));
Line 877:
map.addOverlay(new GMarker(point));
to
map.addOverlay(new GMarker(point, {icon:icon}));
ETA:
Another cosmetic change: fix of marker position on map:
Change all occurrences of
icon.iconAnchor = new GLatLng(...);
icon.infoWindowAnchor = new GLatLng(...);
to
icon.iconAnchor = new GPoint(6, 20);
icon.infoWindowAnchor = new GPoint(8, 1);
Coordinates are left-to-right, top-to-bottom.
|