Hi: Here are example maps of the icon question:
This link shows use of the 16px x 16px marker. Note that is blurry as though it has been scaled up to a significantly larger size. http://maps.google.com/maps?q=http://www.gooseneckcreek.com/googlemaps/onw/site.kml This link shows use of the 32px x 32px marker. Note that the image is crisp http://maps.google.com/maps?q=http://www.gooseneckcreek.com/googlemaps/onw/dnq.kml This link shows use of the 64px x 64px marker. Note that it also is a crisp image, as though it has been scaled down http://maps.google.com/maps?q=http://www.gooseneckcreek.com/googlemaps/onw/dni.kml Markers in all three maps display at the same size, corresponding to the 32x32 version Thanks for your time. John On Apr 22, 2:19 pm, John <[email protected]> wrote: > Hi: > > May I heartily second Ralph Ames' comment: Very good example. Thank > you > I redid my page and for the most part it works well, particularly the > loading, which is what I originally needed help with. However, I have > been unable to do the following: > > 1) when the maps are built in Google Maps API, and not via KML, I > could add a title to each marker which displayed when the mouse flew > over the marker. I don't see that capability at all via KML. Is that > correct? I can display the InfoWindow just fine, but not a title. > > 2) Using a custom icon does not seem to work. If I use a standard 32px > x 32px google marker, seems fine. But I'd like to use smaller markers, > 24px x 24px or even 16px x 16 px. But when I take the standard google > marker (blue-dot.png, for instance) and scale it to either of those > sizes, save it and reference it in the .kml file, the image appears no > smaller and it appears fuzzy, as though it is being scaled up again. I > know the KML <scale> element is not supported by Google Maps API > > If it matters, I'm scaling the icon to a smaller size using GIMP. > Seems like I should be able to do this, but I haven't had any success. > > Thanks again. > > John > > On Apr 14, 7:24 pm, "William ." <[email protected]> wrote: > > > On Thu, Apr 15, 2010 at 2:20 AM, John <[email protected]> wrote: > > > > The application is to add two markers to each map and see where they > > > lie in relation to all of the existing markers in each map. Those two > > > markers are added using the addOverlay method. The existing marker > > > data, which is contained in the arrays, changes very little on a day- > > > to-day basis. It would be ideal if there is a way to build all the > > > maps once a day and then reference those maps as needed and add the > > > additional two markers to them. > > > Since there is less than 1000 markers in each array, you could build KML > > files for each, and add them to the map with GGeoXml. The markers would be > > tiled by google and load more easily in each of the 18 maps on the page: > > >http://www.william-map.com/20100415/1/map.htm > > -- > 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 > athttp://groups.google.com/group/google-maps-api?hl=en. -- 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.
