I am doing the extra features and trying to plant two gas stations to google maps. For this I created another js file defining var GASSTATION with the two individual gas stations and their lat and lng. I then added the following code to service.js in populate() after the code, in which maps is populated with houses. However as I run the program, it does not load properly and earth and maps do not show up in the browser. Can anyone identify what is wrong with this snippet of code?
for(var station in GASSTATION){
new google.maps.Marker({
icon: "http://mapicons.nicolasmollet.com/wp-content/uploads/mapicons/shape-default/color-9d7050/shapecolor-color/shadow-1/border-dark/symbolstyle-white/symbolshadowstyle-dark/gradient-no/e-bike-charging.png",
map: map,
position: new google.maps.LatLng(GASSTATION[station].lat, GASSTATION[station].lng),
title: Gas Station
});
}