it should just be<script type="text/javascript" src="http://localhost/myapplication/scripts/arcgis_js_api/library/2.6/jsapi/?v=2.6compact�?� >unless you changed the folder structure
I am explaining here the issue in more detailI have an Asp.Net MVC Application. There I am trying to integrate the ArcGIS JavaScript Basic Viewer.I already configured the ArcGIS Javascript API 2.6 in my Asp.Net application as below here [ATTACH]10821[/ATTACH]I have Default.ashx inside jsapicompact folder as mentioned in install.htm of ArcGIS Javascript Api downloaded content.I am using this script reference.<script type="text/javascript" src="http://localhost/myapplication/scripts/arcgis_js_api/library/jsapicompact/default.ashx�?� >Instead of <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.6compact"> Here is my dojoConfigvar djConfig = { parseOnLoad: true, locale:"en-us", baseUrl: './', modulePaths: { "esriTemplate": "../../../Modules/ArcGISMaps/Scripts" }};The problem is I am not able to make Basic Viewer to work with local ArcGIS Javascript Api. I am getting some error in loading dojo scripts and ArcGIS javascript Api Scripts.Please help me how to configure the basic viewer with local ArcGIS Javascript Api (http://localhost/myapplication/scripts/arcgis_js_api/library/jsapicompact/default.ashx) Instead of Online api (http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.6compact)
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.