Autoscaling MarkerImage Makes Apps Useless

27 views
Skip to first unread message

Gray

unread,
Aug 17, 2010, 3:34:44 PM8/17/10
to Google Maps JavaScript API v3
As of 16 Aug 2010 Google has introduced a new feature that in V3
Panorama mode automatically scales a MarkerImage icon based on its
distance away from the users current LatLng co-ordinates (this is
occuring on iPad - does NOT occur on a Windows based computer). This
results in Markers that were 100px wide being reduced to 5px wide or
less if their LatLng co-ordinates are more than a few meters away from
your current position; making all Markers other than the one you are
standing at useless since they are now illegible and/or
unrecognizable.

I suspect that Google is smart enough to have added a function to
optionally turn off this autoscaling so that the MarkerImage can stay
the same size regardless of what distance you are from the LatLng co-
ordinate it represents, but there is no documentation to indicate how
to turn this new autoscaling off so that the MarkerImage stays at its
defined width.

Any one know how to do this - please advise.

Gray

Chad Killingsworth

unread,
Aug 17, 2010, 6:57:41 PM8/17/10
to Google Maps JavaScript API v3
As with any post in this forum, providing a link demonstrating the
issue is the best way to get noticed.

Chad Killingsworth

Ben Appleton

unread,
Aug 18, 2010, 12:30:01 AM8/18/10
to google-map...@googlegroups.com
Marker scaling is implemented using CSS transforms, which exist in all
supported browsers except IE. It is not specific to eg. Windows or
iPad.

We'll restrict the maximum and minimum scaling. Meanwhile please
specify an API version, such as v=3.1, to avoid surprise changes.
(See also http://code.google.com/apis/maps/documentation/javascript/basics.html#Versioning).

- Ben

> --
> You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
> To post to this group, send email to google-map...@googlegroups.com.
> To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

Susannah (Google Employee)

unread,
Aug 25, 2010, 3:35:16 PM8/25/10
to Google Maps JavaScript API v3
Hi Gray,

I'd be interested to see the effect of the scaled markers on your
site. Can you provide a link to the site using the current version or
at least to the marker image and describe how you're using it?

Thanks,
Susannah
Reply all
Reply to author
Forward
0 new messages