title: Programmatically generate Google Maps markers (API v3)
body: <p>Is it possible to programmatically generate markers in Google? For example, I have a database of services and locations that I want to plot on a Google Map using PHP.</p>
  
  <p>Using the Maps API v3, I have created a map and plotted the services fine using markers and info windows, but what I really want to do is generate numbers (1,2,3,4... etc.) in the default marker bubbles based on the order they get retrieved from the DB. Also, I'd like to change the colour of the marker icon programmatically based on the service type in the database.</p>
  
  <p>I'm using PHP, so don't know if there's a script to do this, but I had hoped that Google would provide this custom marker generation through the API.</p>