Welcome Guest, you are in: Login

FDOT Wiki

RSS RSS

GisFramework



Search the wiki
»

SetExtentCommand

RSS
Modified on Monday, 03 June 2013 02:03 PM by 156.75.200.241 Categorized as Commands
The SetExtentCommand allows the map's current extent to be set through script.


CommandVerb

"se"

Parameters

The SetExtentCommand takes a ZoomGeometryParameters object.

NameTypeDescription
GeometryGeometryThe geometry that the extent will be set to.

Code Sample


FDOT.Map.executeCommand("se",
{
"Geometry":
        {
            "xmin":-9383855.4429890811,
            "xmax":-9052586.2406177856,
            "ymin":3172637.5873260531,
            "ymax":3459257.462421217
        }
});

See Also

Any Questions or Comments? Email
Some of the icons created by FamFamFam.