I'm working on a custom marker icon and finding the docs a little sparse, particularly for imageMap. Does the coordinate system for imageMap refer to pixels or to the "grid" that pixels are position upon? Put another way, does 0,0 refer to the upper left most pixel or to the origin on a X, Y grid?
Here is image to illustrate the alternatives: http://robotbattle.com/images/coordinates.png I assumed that imageMap coordinates should referred to pixels and that the selection area would include the resulting lines (second alternative in the image above). This is how the HTML area tag works. But the imageMap for G_DEFAULT_ICON seems to contradict this. The maximum X value for the default imageMap points is 20. Since the default icon is only 20 pixels wide, the highest zero based pixel X value should be 19. I've also found that the selection area seems too small when using pixel based coordinates. All this suggests that imageMap really uses grid coordinates (first alternative in the image above). Anyone know the real answer? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
