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?
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?