|
POST
|
Using javascript api 3.10 (tried 3.9 also). Everything works on desktop. but i cant seem to Move a point in the editor widget. I had this working, and I am not sure if an iOS update broke it or what. Its impossible to debug on ipads. So I select a point by tapping it. It selects fine. If i try to drag it, the map pans. IF i tap hold, i get a magnifying window. So i
fLayer.on("selection-complete", lang.hitch(this, function(graphics){
// alert('selection-complete');
// console.dir(graphics);
if(fLayer.getSelectedFeatures().length>0){
if(has('touch')){
// alert('selection complete');
map.disableMapNavigation();
// alert('nav disabled');
}
registry.byId("EditContainer").selectChild(registry.byId("editAttributePane"));
fLayer.redraw();
}else{
if(has('touch')){
map.enableMapNavigation();
// alert('nav enabled');
}
registry.byId("EditContainer").selectChild(registry.byId("editToolPane"));
}
}));
To disable mapnav on touch if a point is selected. But if i try to move it, nothing happens. anybody? Jonathan Uihlein
... View more
08-08-2014
07:49 AM
|
0
|
3
|
1655
|
|
POST
|
Have you included the required/appropriate css files?
... View more
08-07-2014
01:56 PM
|
0
|
0
|
1714
|
|
POST
|
sorry to bring up an old post, ON 10.2.2, my javaw process is hitting 1/4 of my machine memory (8gb of 32gb) and arcgis server goes out to lunch. Only a manual restart of the arcgis server service brings it back. When this happens, only 22gb of 32gb of ram are in use, so there is plenty of room. Any guidance?
... View more
07-31-2014
05:23 AM
|
0
|
0
|
3156
|
|
POST
|
Jon, this works perfectly!!!! thank you so much. Now, is there a secret "on tool change" type logic?
... View more
07-30-2014
12:39 PM
|
0
|
1
|
1239
|
|
POST
|
yes i was being facetious, however at the moment it looks like all the eggs are going in the html5/javascript basket.
... View more
07-30-2014
11:17 AM
|
0
|
5
|
1453
|
|
POST
|
No problem. I understand that. You can mark posts as helpful along the way.
... View more
07-30-2014
09:41 AM
|
0
|
0
|
4614
|
|
POST
|
Flex and Silverlight are end of life. Javascript is forever
... View more
07-29-2014
02:08 PM
|
1
|
2
|
1453
|
|
POST
|
Glad you found the answer. However, crediting yourself with the answer, when others pointed you in the right direction, isnt really great..
... View more
07-29-2014
09:44 AM
|
0
|
1
|
4614
|
|
POST
|
I think you should use once
Incidentally, dojo/on includes a convenience method for doing exactly this: on.once . It accepts the same parameters as on , but will automatically remove the handler once it is fired.
Events with Dojo - The Dojo Toolkit
... View more
07-28-2014
08:11 AM
|
0
|
0
|
1401
|
|
POST
|
here is the code we use to do a hardcoded login
function initPredefinedSecurity() {
//alert('in initPredefinedSecurity');
serverInfo = new ServerInfo();
serverInfo.server = 'https://'+window.location.hostname+'/arcgis03';
serverInfo.tokenServiceUrl = 'https://'+window.location.hostname+'/arcgis03/tokens/generateToken';
serverInfo.shortLivedTokenValidity = 720;
esri.id.registerServers([serverInfo]);
//add your own password
var def = esri.id.generateToken(serverInfo, {"username": "util", "password": ""});
def.addCallback(lang.hitch(this, function (tokenInfo) {
//get token creation time in epoch
var creationTime = (new Date).getTime();
//calculate the token expiration based on short lived token validity
var expirationTime = creationTime + (serverInfo.shortLivedTokenValidity * 60000);
//create array of secured services
var idObject ={};
idObject.serverInfos= [serverInfo];
var credentials={};
credentials.userId = "util";
credentials.server = "https://"+window.location.hostname+"/arcgis03";
credentials.token = tokenInfo.token;
credentials.expires = expirationTime;
credentials.ssl = false;
credentials.scope = "server";
credentials.validity = 720;
credentials.creationTime = creationTime;
idObject.credentials = [credentials];
//credential object is correct
esri.id.initialize(idObject);
// now create map
initMap();
}));
};
... View more
07-25-2014
09:10 AM
|
1
|
0
|
1676
|
|
POST
|
Manatee County Florida supports PSAP with data, and we have one dedicated GIS person for all of Public Safety (including using FME to load data into intergraph for 911, and all Public Safety mapping needs). Central GIS manages SDE and AGS for rest endpoints for WebEOC.
... View more
07-25-2014
07:18 AM
|
0
|
0
|
1811
|
|
POST
|
Right. So your options are Portal (local AGO) or download a template and customize. What you really want is the webapp builder, but its not there yet
... View more
07-24-2014
12:03 PM
|
0
|
1
|
1677
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-22-2014 08:35 AM | |
| 1 | 05-02-2012 04:56 AM | |
| 1 | 10-29-2021 07:40 AM | |
| 1 | 10-28-2021 05:26 AM | |
| 1 | 07-17-2012 08:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-01-2022
02:00 PM
|