POST
|
Hi, when I use standard AMD loader for modules, code assist is not working: /// <reference path="typings/arcgis-js-api/arcgis-js-api.d.ts"/>
require(["esri/map", "esri/layers/FeatureLayer", "dojo/domReady!"], function(Map, FeatureLayer) {
var map = new Map("map", {
center: [-118, 34.5],
zoom: 8,
basemap: "topo"
});
}); But when I switch require to define like that, code assist starts working, but script throws exception "Error: multipleDefine" /// <reference path="typings/arcgis-js-api/arcgis-js-api.d.ts"/>
define(["esri/map", "esri/layers/FeatureLayer", "dojo/domReady!"], function(Map, FeatureLayer) {
var map = new Map("map", {
center: [-118, 34.5],
zoom: 8,
basemap: "topo"
});
}); Any idea to work around this problem?
... View more
05-31-2015
07:32 AM
|
0
|
0
|
3830
|
POST
|
It was the offline access to Pro license, after enabling it arcpy imports without problems. Thanks very much.
... View more
11-05-2014
11:35 PM
|
2
|
1
|
1564
|
POST
|
Hi, I tried this, but after "import arcpy" windows throws "python.exe has stopped working" and whole script goes down. I admit, I am using Anaconda distribution, specifically Python 3.4 64bit. On Anaconda 2.7 with arcpy from 10.3 everything working fine. Edit: Windows logging points on "\ArcGIS Pro\bin\AGOLHelper.dll"... Edit 2: It's not Anaconda problem, it persists in Python 3.4, downloaded from Esri page, so it's apparently bug connected to latest ArcGIS Pro release. Thanks.
... View more
11-03-2014
10:48 PM
|
0
|
3
|
1564
|
Title | Kudos | Posted |
---|---|---|
2 | 11-05-2014 11:35 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|