My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2500: Cropped MarkerImage When Using Marker.setIcon(<scaled MarkerImage>) for Existing Marker
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jul 2010


Sign in to add a comment
 
Reported by [email protected], Jun 17, 2010
Changing an existing Marker's icon to a scaled-down MarkerImage via Marker.setIcon(<scaled MarkerImage>) crops the MarkerImage on the Map.

Panning out the marker and returning back to it, the MarkerImages will then be rendered correctly.

I attached a html script below. first click "Test setIcon()" button. == the marker image will be croppted.

The click "Pan Away and Back" button. == the MarkerImage will then be rendered correctly.

Thanks,

Dexter
MarkerImageCroppingTest.htm
2.1 KB   View   Download
Jun 17, 2010
#1 [email protected]
Thanks for filing Dexter.

I replicated the issue and verified scaling a marker's image on the fly doesn't work correctly until new map tiles are redrawn, initiated by the panning.
Status: Confirmed
Labels: Internal-2779476
Jun 17, 2010
#2 [email protected]
Thanks so much, I hope it will be OK, so that I wouldn't need to pan away and back everytime Map changes Zoom.

, Dexter
Jul 5, 2010
#3 [email protected]
(No comment was entered for this change.)
Status: FixedNotReleased
Jul 20, 2010
Project Member #4 [email protected]
(No comment was entered for this change.)
Status: Fixed
Labels: Fixed-3.1
Sign in to add a comment

Powered by Google Project Hosting