Heelo,
 Im very new at this and having some troubles trying to put the
content i want into my info window on the google map I have created! I
have linked it to a simple SQL database. I have based my markers on
latlng coordinates (addresses wouldnt work) which at the moment is
what is appearing in my infowindow. I would like to change this to
name and location of marker...

Everytime I try and change the content to put address and name from
the database (instead of 'lat' and 'long" ) in the infowindow the map
just doesnt load full stop in my browser....

This is my code linking my database in and info window;

<?php $Recordset1_id = 0; ?>
<?php do { ?>
    var address_0_<?php echo $Recordset1_id; ?> = {
      street: '',
      city: '',
      state: '',
      zip: '',
      country: '',
      infowindow: 'custom',
      infowindowtext: '<span style="font: 12px Verdana, Arial,
Helvetica, sans-serif; color: black;">
<?php echo str_replace("'", "\'", "<strong>Establishment:</strong>
<br />(".$row_Recordset1['Name']  .", ".$row_Recordset1
['Address']  .")"); ?> </span>',
      full: '<?php echo str_replace("'", "\'", "".$row_Recordset1
['Latitude']  .""); ?>,<?php echo str_replace("'", "\'", "".
$row_Recordset1['Longitude']  .""); ?>',
      isdefault: false,
      addressType: 'coordinates',
      loop: 'Recordset1',
      latitude: '<?php echo str_replace("'", "\'", "".$row_Recordset1
['Latitude']  .""); ?>',
      longitude: '<?php echo str_replace("'", "\'", "".$row_Recordset1
['Longitude']  .""); ?>',

    };

Been playing around on it for a while and looked at other discussions
but no others quite what Im looking for...

Advice would be much appreciated
Thanks



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to