Skip to content

API Compatibility - setExtents require 'bounds' object required #1545

@mapguideguy

Description

@mapguideguy

Using the 0.14.10 version of mapguide-react, the API Compatibility layer requires the

Fusion.getWidgetById('Map').setExtents(minx,miny,maxx,maxy)

to use 'bounds'

const myBounds =
{
left: -123 ,
bottom: 45,
right: -122,
top: 46
};

Fusion.getWidgetById('Map').setExtents(myBounds)

One of the other issues is that the 'top' is not recognized.. perhaps reserved?

Metadata

Metadata

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions