This sounds like an SQL question, and it has little to do with the google Maps API. Where is your map? What have you tried so far?
Please read and follow the group's posting guidelines: http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical -- Marcelo - http://maps.forum.nu -- On Dec 7, 11:33 am, milesba <[email protected]> wrote: > Hi mappers > Ive been thinking and trying to do this for months, Unfortunately I > have only found one other site that is doing > this.http://www.wunderground.com/wundermap/ > Sadly no tutorials on this important topic, and I cant make heads or > tails of the "view src" code. > > Here goes: > I have 5 different custom icons. Each icon represents the "current > state" of one of our fuel sensors at one location. > > state1= redicon=sensor faliure > state2= greyicon=sensor offline > state3= blueicon=data transmitted in last 12 hours > state4= purpleicon=data transmitted in last 6 hours > state5= greenicon=currently transmitted > > something like this: > > IF last record from sensor is older than 48 hours > load redicon > IF last record from sensor is older than 24 hours > load greyicon > IF last record from sensor is between 6 and 12 hours > load blueicon > IF last record from sensor is between 1 minute and 6 hours > load purpleicon > IF last record from sensor is between now() and 1 minute > load greenicon > > Im pretty sure that wundermap uses this type of statement to load > their custom markers, possibly using an array. Does anyone know how > this could be done? > > Thanks in advance for the rental of your grey matter. -- 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.
