Hi James. This is discussed well at..
http://econym.googlepages.com/custom.htm On Aug 13, 8:09 pm, jamesl7 <[EMAIL PROTECTED]> wrote: > Hi > > I have markers that are 150 x 15 px. In Google Maps view this is fine > but when you click on the 'Earth' view, the markers are scaled down to > 32x32 (I think). > > Could anyone tell me how I can achieve this please. > > I need to be able to show / hide, although the marker.hide() function > doesn't seem to work in Earth but I can get round that with add / > remove > > Code: > > function createLabelMarker(point, vId) { > var vehLabel = new google.maps.Icon(); > vehLabel.iconAnchor = new google.maps.Point(-11, 8); > vehLabel.image = temp_sessId_url + "_gl_1.png"; > vehLabel.iconSize = new google.maps.Size(156, 15); > markerOptions = { icon:vehLabel, clickable:false }; > var marker = new google.maps.Marker(point, markerOptions); > return marker; > > } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
