<script type="text/javascript"> var djConfig = { parseOnLoad: true, packages: [{ "name": "agsjs", "location": location.pathname.replace(/\/[^/]+$/, "") + '/agsjs/build/agsjs' //"location": 'http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/2.02/xbuild/agsjs' // for xdomain load }] }; </script> dojo.connect(map, 'onLayersAddResult', function (results) { var toc = new agsjs.dijit.TOC({ map: map, layerInfos: [{ layer: dynmap1, title: "Signs", slider: true }] }, 'tocDiv'); toc.startup(); var legend = new esri.dijit.Legend({ map: map, layerInfos: [{ layer: dynmap1, title: "" }] }, "legendDiv"); legend.startup();
How do we access the /javascript folder for that site to see the javascript source code rel linked to in the index.html? Gave me 403 forbidden.
Never mind your link resource was good enough. Thanks for sharing.
Here is a starter:http://maps.charlottenc.gov/templates/basicviewer/?webmap=460c54f38736428fa9c3429071be07b8It also has 2 extra things that I feel might be useful:--Google maps as a basemap option -- toggle labels for basemaps if available.
Has anyone integrated this with the ESRI Basic Viewer template?
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.