I have been viewing and learning from this discussion group for a long time now and in an attempt to give something back to the community, I have written a page that I hope will help some people in the future when creating their custom markers for Google Maps.
When a user uploads an image they would like to use for their custom marker, they are presented with a zipped package for download (subject to file size, type and dimension limits) that contains the 6 separate images that make up the custom icon. Namely: 1. image.png - The main foreground image. 24-bit PNG image with alpha transparency 2. shadow.png - The shadow image. 24-bit PNG image with alpha transparency. 3. printImage.gif - An alternate foreground icon image used for printing on browsers incapable of handling the main foreground image. Transparent GIF 4. mozPrintImage.gif - An alternate non-transparent icon image used for printing on browsers incapable of handling either transparent PNGs or transparent GIFs. Non transparent GIF with a light grey background. 5. printShadow.gif - A shadow image used for printed maps. Transparent GIF with a chequered pattern of grey pixels for the shadow area. 6. transparent.png - A virtually transparent version of the main foreground icon image, used to capture click events in Internet Explorer. A 24-bit PNG version of the main foreground image with 1% opacity. In addition, the script builds a suggested array of x,y pixel coordinates that define the image map area used for capturing image clicks in non IE browsers. The page may be found here http://www.powerhut.co.uk/googlemaps/custom_markers.php Hope this of use to some. Look forward to some feedback! Graham --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
