For some reason I can't get gMap to display multiple maps on the same page.
My setup is nearly identical to the examples, but just isn't working. I'm sure I'm missing something little.
Any thoughts?
Demo page here: http://play.artletic.com/jquery/gmaps.html
jQuery:
$(function(){
$("#map_1").gMap({
controls: false,
markers: [{
address: "2844 Thornapple River Drive SE, Cascade, MI 49546",
html: "Cascade"
}],
address: "2844 Thornapple River Drive SE, Cascade, MI 49546",
zoom: 9
});
$("#map_2").gMap({
controls: false,
markers: [{
address: "5278 Plainfield Ave NE, Grand Rapids, MI 49525",
html: "Grand Rapids - North"
}],
address: "5278 Plainfield Ave NE, Grand Rapids, MI 49525",
zoom: 9
});
$("#map_3").gMap({
controls: false,
markers: [{
address: "6991 Kalamzoo Ave SE, Kentwood, MI 49508",
html: "Grand Rapids - South"
}],
address: "6991 Kalamzoo Ave SE, Kentwood, MI 49508",
zoom: 9
});
});
And Related HTML:
<div id="map_1" class="google_map"></div>
<div id="map_2" class="google_map"></div>
<div id="map_3" class="google_map"></div>