function init() { ... var mapOnClick_connect = dojo.connect(map, "onClick", mapOnClick); ... } function mapOnClick() { var extent = map.extent.expand(2); map.setExtent(extent); }
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.