IDEA
|
It's been 7 years since I posted this, I've changed role twice in that time and still see a steady drip feed of replies, that's really poor from ESRI.
... View more
4 weeks ago
|
0
|
0
|
46
|
IDEA
|
Agree 100% While the improvements to feature layers is very welcome all it does is slightly increase the range of acceptable performance. Maybe you can now accommodate 10k features in a feature layer while before it was 2k. That's great but it still doesn't help me if i have 20k features, especially if the geometry is complex. I'm yet to hear a good answer from esri as to how i can best render a large dataset with complex polygons and attribution that changes frequently. At least tell me something is on the roadmap.
... View more
02-14-2019
02:23 PM
|
2
|
1
|
1959
|
IDEA
|
I'd like to see the same option to enable popups on vector tiles that is available on tile layers. Currently if you're using a traditional cache tiled layer you can select a sublayer and enable popups by pointing it to an equivalent feature service. The same should be available on vector tiles. Currently there is a large functionality gap in ArcGIS Online: Dynamic data with low feature count = Feature Layer Static data with high feature count = Tiled Layer Dynamic data with high feature count = ? This is the role previously used by dynamic map services, however those are only available via an internal ArcGIS Server. Hosted vector tiles work perfectly for this and perform incredibly well, but without the popup functionality they're basically alternative basemaps instead of useful operational layers. Thanks
... View more
02-14-2017
08:29 AM
|
175
|
31
|
14134
|
POST
|
Managed to answer my own question, code is below for future reference, the issue was that i wasn't defining dojo.lang. define([
'dojo/_base/declare',
'dijit/_WidgetsInTemplateMixin',
'jimu/BaseWidget',
'dojo/_base/lang',
'dojo/on',
'dojo/dom',
'dojo/domReady',
'esri/tasks/query',
'esri/tasks/QueryTask'
],
function(
declare,
_WidgetsInTemplateMixin,
BaseWidget,
lang,
on,
dom,
domReady,
Query,
QueryTask
) {
//To create a widget, you need to derive from BaseWidget.
return declare([BaseWidget, _WidgetsInTemplateMixin], {
// Custom widget code goes here
baseClass: 'jimu-widget-editor',
name: 'Editor',
startup: function() {
this.inherited(arguments);
},
onOpen: function(){
this.own(on(this.map, "click", lang.hitch(this, this.onMapClick)));
},
onMapClick: function(event) {
this.mapIdNode.innerHTML = String(event.mapPoint.x);
var queryTask = new QueryTask('*Service URL*');
var query = new Query();
query.returnGeometry = true;
query.outFields = ['*'];
query.geometry = event.mapPoint;
queryTask.execute(query, lang.hitch(this, this.showResults));
},
showResults: function(results) {
var resultItems = [];
var resultCount = results.features.length;
for (var i = 0; i < resultCount; i++) {
var featureAttributes = results.features.attributes;
this.featName.innerHTML = featureAttributes.NAME;
//window.alert(featureAttributes.NAME);
}
}
});
});
... View more
01-26-2015
06:16 AM
|
2
|
1
|
1057
|
Title | Kudos | Posted |
---|---|---|
175 | 02-14-2017 08:29 AM | |
2 | 01-26-2015 06:16 AM | |
2 | 02-14-2019 02:23 PM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|