|
@@ -46,7 +46,8 @@ function initialiseAddresses() {
|
|
|
let options = {
|
|
let options = {
|
|
|
map: map,
|
|
map: map,
|
|
|
position: position,
|
|
position: position,
|
|
|
- title: address.name
|
|
|
|
|
|
|
+ title: address.name,
|
|
|
|
|
+ icon: "/img/markers/address.png"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
bounds.extend(position);
|
|
bounds.extend(position);
|
|
@@ -94,7 +95,8 @@ function initialiseLocations() {
|
|
|
let options = {
|
|
let options = {
|
|
|
map: map,
|
|
map: map,
|
|
|
position: position,
|
|
position: position,
|
|
|
- title: response.name
|
|
|
|
|
|
|
+ title: response.name,
|
|
|
|
|
+ icon: "/img/markers/address.png"
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
bounds.extend(position);
|
|
bounds.extend(position);
|
|
@@ -119,6 +121,7 @@ function initialiseLocations() {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if(location.icon) options.icon = "/img/markers/" + location.icon;
|
|
if(location.icon) options.icon = "/img/markers/" + location.icon;
|
|
|
|
|
+ else options.icon = "/img/markers/building-red.png";
|
|
|
|
|
|
|
|
bounds.extend(position);
|
|
bounds.extend(position);
|
|
|
|
|
|