POST
|
I'm sorry, but I have to chime in here -- You guys have to do a better job in making ArcServer layers accessible in a desktop environment. In my experience, your technology has moved in backwards direction in recent years.
... View more
03-03-2017
02:11 PM
|
2
|
4
|
4073
|
POST
|
I've observed similar behavior when adding the warnings layer (12) from this server: igems_haz (MapServer) The layer does not consist of more than 1,000 features, but there are days when it seems that the features contain over 1,000 vertices. Like what you described, it doesn't always load all features and does not even load the same number when I hit reload. My assumption has been that the shear size of the layer overwhelms the memory on my computer, which leads to the inconsistent behavior. If you're adding over 1,000 features, you also be pushing the limits of your memory. John Gravois provided some very helpful pointers on dealing with the issue here: https://community.esri.com/thread/187448-trying-to-figure-to-best-way-to-add-a-online-layer-to-a-leaflet-map
... View more
02-07-2017
02:10 PM
|
1
|
0
|
609
|
POST
|
Thanks again John. I really appreciate your help here. Do you have any idea why this code is not working? //Add weather warnings var weather = L.layerGroup(); var URL2 = "http://igems.doi.gov/arcgis/rest/services/igems_haz/MapServer"; L.esri.dynamicMapLayer({ url: URL2, layers: 12, opacity : 0.25, useCors: false }).addTo(weather); weather.addTo(map); The layer works when I use L.esri.featureLayer (albeit slow and memory intensive). Thanks again!!!
... View more
12-25-2016
03:57 PM
|
0
|
1
|
1414
|
POST
|
Thanks for the info. Sounds like dynamicMapFeature is a newer version of WMS, in that it sends raster depictions of the data instead of the vector data. Am I reading that correctly? Also, the docs page for L.esri.FeatureLayer says that simplifyFactor has to be integer: L.esri.FeatureLayer | Esri Leaflet But the example shows decimal values, so are those allowed?
... View more
12-17-2016
08:01 PM
|
0
|
3
|
1414
|
POST
|
Thanks. L.tilelayer.WMS lets you add WMS layers, but it does not support popup windows out the box. At one point, the leaflet.wms.js plugin let me have that feature, but I had no control over the content and format. Then that just stopped working out of the blue (I think ESRI updated how they serve WMS.) From other research and forums, I know that I need to do a GetFeatureInfo request & pass that to an html object, but I don't know how to do that and haven't found any tutorials. When using L.esri.FeatureLayer, I have control over the pop-up info window, but the vector data takes much longer to download. It also freezes on mobile devices. I've tweaked the precision and renderer options, and that has gotten me some improvement.
... View more
12-17-2016
07:23 PM
|
0
|
0
|
1414
|
POST
|
I am trying to add layer 12 (warnings) in this services directory to a Leaflet map: https://igems.doi.gov/arcgis/rest/services/igems_haz/MapServer
Unfortunately, neither WMS or ESRI feature layer format seems to work well. WMS performs quickly, but I haven't been able to get popup info windows to work properly. With ESRI feature layer, it is the opposite: the info windows work great, but the large vector layer slows everything down. What other options do I have?
(Most of my experience is in the desktop GIS, so I am still not 100% on the different formats and specifications for webGIS.)
... View more
12-15-2016
12:58 AM
|
0
|
7
|
4216
|
Title | Kudos | Posted |
---|---|---|
1 | 02-07-2017 02:10 PM | |
2 | 03-03-2017 02:11 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|