public function getMinLat() : String { var ext:Extent = map.extent as Extent; if (ext.ymin < -90 ){ return "-90" } else { return String(ext.ymin) } } public function getMaxLat() : String { var ext:Extent = map.extent as Extent; if (ext.ymax > 90 ){ return "90"; } else { return String(ext.ymax) } } public function getMinLon() : String { var ext:Extent = map.extent as Extent; if (ext.xmin < -180 ) { return "-180"; } else { return String(ext.xmin) } } public function getMaxLon() : String { var ext:Extent = map.extent as Extent; if ( ext.xmax > 180) { return "180"; } else { return String(ext.xmax) } }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.