Skip to content

.setCenter cannot set the zoom level. #7

@Mazzo

Description

@Mazzo

I see that most of the code of ext.ux.gmaps3.js uses:

<google.maps.Map>.setCenter() method.

Most of the times such method is called with 2 parameters:

1 the point where to center
2 and zoom level.

yet as you can see on docs
(http://code.google.com/intl/it-IT/apis/maps/documentation/javascript/reference.html#Map)

.setCenter uses just the first one.

to set the zoom .setZoom() should be used instead.

This is bug in inifluential... since everything works all right the same...
but it'd be really nice to being able to set the zoom...
now it's working just on map creation.

thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions