Skip to content

autoCenterAndZoom doesn't work well with world-wide points #84

Description

@CIPowell

When there are markers above and below the equator and left and right of the meridian, auto Center and zoom seems to ignore some of them and zoom in on one point;

In this case, with markers in Europe only it works fine, but with markers in Europe, Africa and Oceana (Australia, New Zealand and Singapore) the map zooms in on Southern Africa.

Using googlemapsv3.

set up code

            map = new mxn.Mapstraction("map", "googlev3");
    map.setCenterAndZoom(new mxn.LatLonPoint(0,0), 1);
    map.addLargeControls();
    map.addMapTypeControls();

markers are added using addMarkerWithData.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions