Hi Gamer2bn,
This is a piece of a php script I used to place markers on the coordinates fed by another program.
I think this is more or less similar to what you are looking for.
There isn't much php in this piece, so I'm hoping you can figure out what I did.
function createMarker(point, iconname, info) {
var icon = new GIcon(baseIcon);
icon.image = "<?php echo $urlAddress1 ?>/Images/now.png";
var title = "<?php echo $tijdstip ?>";
icon.iconAnchor = new GPoint(10, 35);
var marker = new GMarker(point, icon);
var point1 = new GLatLng( <?php echo $latmineen ?>, <?php echo $longmineen ?>);
var point2 = new GLatLng( <?php echo $latmintwee ?>, <?php echo $longmintwee ?>);
var point3 = new GLatLng( <?php echo $latmindrie ?>, <?php echo $longmindrie ?>);
var point4 = new GLatLng( <?php echo $latminvier ?>, <?php echo $longminvier ?>);
var point5 = new GLatLng( <?php echo $latminvijf ?>, <?php echo $longminvijf ?>);
var now = "<?php echo $tijdstip ?>";
var icon = "<?php echo $urlAddress1 ?>/Images/now.png";
var icon1 = new GIcon();
icon1.image = "<?php echo $urlAddress1 ?>/Images/blauw1.png";
icon1.iconAnchor = new GPoint(10, 35);
var title1 = "<?php echo $tijdmineen ?>";
var title2 = "<?php echo $tijdmintwee ?>";
var title3 = "<?php echo $tijdmindrie ?>";
var title4 = "<?php echo $tijdminvier ?>";
var title5 = "<?php echo $tijdminvijf ?>";
var icon2 = new GIcon();
icon2.image = "<?php echo $urlAddress1 ?>/Images/blauw2.png";
icon2.iconAnchor = new GPoint(10, 35);
var icon3 = new GIcon();
icon3.image = "<?php echo $urlAddress1 ?>/Images/blauw3.png";
icon3.iconAnchor = new GPoint(10, 35);
var icon4 = new GIcon();
icon4.image = "<?php echo $urlAddress1 ?>/Images/blauw4.png";
icon4.iconAnchor = new GPoint(10, 35);
var icon5 = new GIcon();
icon5.image = "<?php echo $urlAddress1 ?>/Images/blauw5.png";
icon5.iconAnchor = new GPoint(10, 35);
map.addOverlay(new GMarker(point1, {title: title1, icon: icon1}))
map.addOverlay(new GMarker(point2, {title: title2, icon: icon2}))
map.addOverlay(new GMarker(point3, {title: title3, icon: icon3}))
map.addOverlay(new GMarker(point4, {title: title4, icon: icon4}))
map.addOverlay(new GMarker(point5, {title: title5, icon: icon5}))
map.addOverlay(createMarker(point, {title: now, icon: icon}))
I found a lot of usefull stuff about Google maps at this site:
http://econym.google...m/reference.htm Regards,