Hot answers tagged

6

I've been stuck on an issue quite similar to yours by having a custom control with a scrollable div inside. At least a partial solution can be achieved by using lines like this: var elem = L.DomUtil.get('yourelementid'); L.DomEvent.on(elem, 'mousewheel', L.DomEvent.stopPropagation); where elem is the element that's laid out over the map. This prevents ...


3

I believe the tool you want is the XSLTransform_conversion tool. This tool is found in ArcToolbox's Coversion tools. Look in Conversion Tools, then open the Metadata toolset. It's called XSLT Transformation. If you execute it in python, it's the arcpy.XSLTransform_conversion() method. You can look it up in ArcGIS Desktop help for a full description. ...


3

While the answer that you have posted works, it doesn't really get to the root of the issue. The error indicates that you are trying to load the JSON from a a location that is not on the same domain. In the OP's case, the application is not being hosted from a webserver, and is trying to load the JSON from the file system. The real solution for this is to ...


2

If I am understanding you correctly, you've copied the esri.css file from the js.arcgis.com server to your local server. This won't work because that esri.css file references images and possibly other resources on the js.arcgis.com server. It references those relative to the location of the css file. The css file is on your server but those required images ...


1

This seems to be due to how different browsers implement https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/watchPosition In a typical "wired" desktop situation, Chrome/IE/Edge only return one single position, while Firefox returns multiple (even if it hasn't changed). If you switch to for example using the internet via a cellphone connection, ...


1

Not sure how this question ended up in GIS stack exchange. Garmin no longer supports the browser plugins. You'll need to install garmin express to manage and sync your device to garmin connect. If you have an account on strava you can also sync those accounts.


1

This probably has nothing to do with Leaflet — it requests tile images the same way as other JS libraries, and caching is fully handled by the browser. Check your browser/devtools settings.


1

If I change the zoom variable to the following, it works also in Firefox: var zoom = d3.behavior.zoom().on("zoom", function() { dptos.attr("transform", "translate(" + d3.event.translate + ")" + " scale(" + d3.event.scale + ")"); }); I hope it helps.


1

Working here on Ubuntu 14.04.1 and Firefox 31:


1

This might have to do with some browser security features in Firefox that block access to local files, that aren't present in chrome/IE. It might require using a proxy to make it look like it's from somewhere else, or a workaround to the local restriction. A few links below that might explain a bit better. Blog post from a GIS developer who had a kml ...


1

can u try it not defining lots of layer definations as following: var url = "http://107.21.18.93/ArcGIS/rest/services/GeoScience /GeologyUnitBoundaries/MapServer" var overlayLayer = new OpenLayers.Layer.ArcGISCache('GeoScience', url, { tileOrigin: tileOrigin, ...


Only top voted, non community-wiki answers of a minimum length are eligible