/* this js file is included in GoogleMapsWithMarkers.html, and the
   "current path" is when this code runs is that of GoogleMapsWithMarkers.html,
   so the path to the  icon .png files is relative to that path, NOT relative
   to the location of this file.  If, in the future, this file gets included
   in more than one .html file I will have to figure out some more
   sophisticated way to calculate the path to the image files. I don't yet
   know to do this.
*/
   var pathToImageFiles = "FishingSpots/GoogleMapsIconImages"


var baseIcon = new GIcon();
baseIcon.shadow = pathToImageFiles + "/shadow50.png";
baseIcon.iconSize = new GSize(20, 34);
baseIcon.shadowSize = new GSize(37, 34);
baseIcon.iconAnchor = new GPoint(9, 34);
baseIcon.infoWindowAnchor = new GPoint(9, 2);
baseIcon.infoShadowAnchor = new GPoint(18, 25);

var icon_G = new GIcon(baseIcon)
icon_G.image = pathToImageFiles + "/markerG.png"

var numberedIcons = new Array()

for( i=0; i<100; i++) {
  var currentIcon = new GIcon(baseIcon)
  var simpleFileName = "/marker" + i + ".png"
  currentIcon.image = pathToImageFiles + simpleFileName
  numberedIcons[i] = currentIcon 
}
