0

a signGroup can now have an optional icon URL

This commit is contained in:
Andrew Chin
2011-01-21 21:11:39 -05:00
parent f866d5e654
commit 3db1953303
2 changed files with 7 additions and 1 deletions

View File

@@ -184,6 +184,10 @@ function initMarkers() {
if (item.type == 'sign') { iconURL = 'signpost_icon.png';}
console.log(signGroup.icon);
if (signGroup.icon) { iconURL = signGroup.icon;
}
var converted = fromWorldToLatLng(item.x, item.y, item.z);
var marker = new google.maps.Marker({position: converted,
map: map,