POST
|
I've come across a few other options to try as well per this thread: Manage Map Cache Tile: Errors at 10.2.2 1) Using the exploded cache format instead of the compact cache format. 2) If you're using an AOI when you're caching, keep the AOI in the same gdb as the data being cached. These have helped me and hopefully will help other people as well.
... View more
02-04-2015
05:14 AM
|
0
|
0
|
1035
|
POST
|
I was having this same issue also and I just wanted to post what solved it for me. I was using a tilling scheme file to define the levels of detail for the cache. The full extent of the map document used to create the tilling scheme file covered a very large area (1:10,000,000 scale when the smallest scale I needed was only 1:80,000). I reset the full extent to cover only the area I needed to cache and recreated the tilling scheme file using that map document which did the trick. Ian
... View more
01-16-2015
08:35 AM
|
0
|
0
|
2248
|
POST
|
Good Morning, Based on this post you should add the ShowFeatureSearchView(); to line 108 in the default.htm. <img alt="Settings" src="images/locate.png" class="imgOptions" title="Search" onclick="ShowLocateContainer(); ShowFeatureSearchView();" /> If you want to have the search tool open by default add the ShowLocateContainer(); and ShowFeatureSearchView(); to line 71 in the default.htm <div class="customButton splashOkButton" onclick="HideSplashScreenMessage(); ShowLocateContainer(); ShowFeatureSearchView(); "> Hope this works for you
... View more
03-27-2014
04:26 AM
|
0
|
0
|
192
|
POST
|
I'm having some trouble understanding how many instances are used when I access a map service and I'm hoping somebody can help me with. I have a map service that contains 4 points. I have the minimum instances set to one and the maximum set to 8. I am running it in low isolation with 4 instances per process. When I access the service in a very simple Javascript the instances running immediately goes from 1 to 5 and the instances in use immediately jump from 0 to 5 (this all happens when I access the page but before the points actually load). The points then take 3-4 seconds to load and when they load the instances running and the instances in use both drop to 3. After another 3-4 seconds the instances running goes up to 4 and the instances in use drop to 2. After another few seconds the instances in use drops to 0 and the instances running stay at 4. In looking at log file, I can see that the server is being queried 10 times. Why would the server be queried 10 times for a very simple map service with 4 points? [ATTACH=CONFIG]30537[/ATTACH] Perhaps I am getting to far into the weeds but I would really like to understand what exactly is happening when I load a map service. Thank you
... View more
01-15-2014
10:13 AM
|
0
|
2
|
727
|
POST
|
Unfortunately I was not able to find a work around so I went ahead used the ArcGIS for iOS app. We were in a time crunch to get a product deployed so I decided that it was better just to use the app then try and reinvent the wheel. So far it has served our needs perfectly.
... View more
11-07-2013
03:18 AM
|
0
|
0
|
479
|
POST
|
Is the watchPosition something I can add to the locate button code in the js file? You'll have to forgive me I'm very new with javascript . Thank you, Ian
... View more
10-31-2013
10:44 AM
|
0
|
0
|
345
|
POST
|
Hey Kelly, Thanks for the input. Do you know if there is anyway to leverage the device GPS for the location much like ArcGIS for iPad or ArcGIS for Android App? Thanks
... View more
10-31-2013
09:45 AM
|
0
|
0
|
755
|
POST
|
Thanks I just figured it out. It was a projection issue. Watching the traffic I saw this: Map: Geometry (wkid: 102100) cannot be converted to spatial reference of the map (wkid: 102722) I'm using a basemap that I published on ArcGIS Online which has a State Plane Ohio North projection. I changed it to an ArcGIS Onilne basemap with a Web Mercator projection and everything worked fine. Does anybody know how I would be able to use a non Web Mercator projection with the Locate Widget? Thanks
... View more
10-31-2013
07:50 AM
|
0
|
0
|
892
|
POST
|
Hi Jerome, I've tried it in Chrome, IE 9, Safari, and Firefox both with and without the fix outlined in the thread and still nothing.
... View more
10-31-2013
07:04 AM
|
0
|
0
|
892
|
POST
|
You're welcome, sorry it was't more help. I was under the impression that HighAccuracy = true used the device GPS, I forget where I read that however. I'm also trying to do the same thing with a web editing app and the LocateButton I found at https://developers.arcgis.com/en/javascript/jssamples/widget_locate.html but I'm having trouble getting my code to work with the locate button.
... View more
10-30-2013
11:11 AM
|
0
|
0
|
755
|
POST
|
Thanks for the quick reply. I tried making both changes you suggested however neither worked. I am also running it from my root directory. When I download the sample from https://developers.arcgis.com/en/javascript/jssamples/widget_locate.html and run it from my root directory everything works fine. I just run into problems when I'm trying to implement the locateButton in another site. Thanks for your help, Ian
... View more
10-30-2013
11:10 AM
|
0
|
0
|
892
|
POST
|
I'm in the process of creating a web editing application by modifying some of the javascript examples. I have added LocateButton into the app however when I click on the button it just spins. It's not my browser because the examples work just fine. Here is my code: <script>
require([
"dojo/ready",
"dojo/parser",
"dijit/layout/BorderContainer",
"dijit/layout/ContentPane",
"esri/map",
"esri/dijit/LocateButton",
"esri/config",
"esri/tasks/GeometryService",
"esri/urlUtils",
"esri/arcgis/utils",
"dojo/dom",
"dojo/_base/array",
"esri/dijit/editing/Editor",
"dojo/domReady!"
], function(
ready,
parser,
BorderContainer,
ContentPane,
Map,
LocateButton,
config,
GeometryService,
urlUtils,
arcgisUtils,
dom,
array,
Editor
) {
ready(function(){
parser.parse();
config.defaults.io.proxyUrl = "/proxy";
config.defaults.geometryService = new GeometryService("http://maps.ci.perrysburg.oh.us/arcgis/rest/services/Utilities/Geometry/GeometryServer");
//check to see if a webmap was specified using URL params. If not use the
//hardcoded webmap id
var urlObject = urlUtils.urlToObject(document.location.href);
var webmap = "90d7e213fb014d31ac623d233511fcf9";
if(urlObject.query && urlObject.query.webmap){
webmap = urlObject.query.webmap;
}
//create the map
arcgisUtils.createMap(webmap, "map", {
mapOptions: {
sliderStyle: "large"
},
ignorePopups: true
}).then(function(response){
var map = response.map;
dom.byId("title").innerHTML = response.itemInfo.item.title;
dom.byId("snippet").innerHTML = response.itemInfo.item.snippet;
geoLocate = new LocateButton({
map: map,
geolocationOptions: {
maximumAge: 0,
timeout: 15000,
enableHighAccuracy: true
}
}, "LocateButton");
//create the editor widget
var layerInfo = [];
var layers = response.itemInfo.itemData.operationalLayers;
array.forEach(layers, function (layer){
layerInfo.push({
"featureLayer": layer.layerObject
});
});
var settings = {
map: map,
layerInfos: layerInfo
};
var editorWidget = new Editor({
settings: settings
},"editorDiv");
editorWidget.startup();
});
});
});
</script> Any help would be much appreciated! Thank you, Ian
... View more
10-30-2013
10:14 AM
|
0
|
16
|
5850
|
POST
|
Hi Richard, Try this thread. It explains it pretty well. http://forums.arcgis.com/threads/48343-Geolocate-API
... View more
10-30-2013
10:06 AM
|
0
|
0
|
755
|
POST
|
William, Thanks for the reply. We only have one machine in our site and we currently use a domain account that has read/write permissions to all the arcgis directories and config store. I gave the arcgis account full permission as well just to see if that would help and it did not. I also tried using a different domain account but that did not work either. After talking with ESRI the made the suggestion of re installing the arcgis server. That was what I was trying to avoid however it seems to have worked. I'm still not sure what happened in the first place but we're back up and running now. Ian
... View more
09-16-2013
04:13 AM
|
0
|
0
|
516
|
Online Status |
Offline
|
Date Last Visited |
01-07-2021
07:05 AM
|