ASMap = FlexMap.map;
// zoom to bounding box
var TrackExtent:Bounds = new
Bounds(Application.application.parameters.xmin,
Application.application.parameters.ymin,
Application.application.parameters.xmax,
Application.application.parameters.ymax);
TrackExtent.transform(new ProjProjection("EPSG:4326"), new
ProjProjection("EPSG:900913"));
ASMap.zoomToExtent(TrackExtent);
--
Andy
PGP Key ID: 0xDC1B5864
Diego.
2010/9/1 Andrew Ayre <an...@britishideas.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "openscales-dev" group.
> To post to this group, send email to opensca...@googlegroups.com.
> To unsubscribe from this group, send email to
> openscales-de...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/openscales-dev?hl=en.
>
>