> I've been through this site before, but its not what i'm looking for, > I need a query or php script that will upload the icons from the MYSQL > database so then they are used as the custom icons, > instead of teh default ones, but not used with XML, if you get what I > mean?
You'll have to write one then. I do not know how you might store images in a MySQL database, binaries I suppose, best go ask in a MySQL forum. I'm not sure what you'd do with them once you'd extracted them from the db ; perhaps you could stick them in a temporary file and pass the url to the client. I do not think there is a way to force- feed images to a client and still have them available for javascript to assign, but again other forums would be much more helpful on that topic. A more conventional way is to just store some category in your db e.g. 'Subway'. You'd keep the logo image file somewhere, say in /images/ subway.jpg You could maintain a lookup table associating category with image file, or just have a direct name relationship. Or even store the actual filename in the db. You could either pass the category to the client, and have your client work out what image to use ; or you could pass the image url as a direct attribute of each marker 'package'. None of that is maps related at all. The maps requirement is - at the client, you must a have a url pointing at some image file somewhere, if you want to assign a custom marker image. -- 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.
