Creates a LatLongRect instance from center coordinate and size.
Namespace: MindFusion.Mapping
File: LatLongRect.js
JavaScript Copy Code |
---|
function fromCenter (location, size) |
LatLong. The center coordinate.
MindFusion.Drawing.Size. The size in meters.
LatLongRect. A LatLongRect instance.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; // create a new instance of the mapView |