|
POST
|
This is awesome, I missed the seminar and I really wanted to attend that.
... View more
05-16-2016
11:57 AM
|
1
|
0
|
1958
|
|
POST
|
You may not be able to do these things using PopupTemplate. But you can do it using the Popup widget. Popup widget is like a control which you can show when ever you want. You could use the layer click event get the feature, build the content you want and then show it with Popup widget.
... View more
05-13-2016
11:39 AM
|
1
|
1
|
2740
|
|
POST
|
I am not sure if there a plan to implement that in future. In 4.0 there is no option to set the content through function. Instead they have provided many features in the PopupTemplate through which you can customize the popup content. Format the field vaules. add own actions etc. Its more generic popup now. If you could let us know what is that specfic functionality you want to achieve through the function, we could let you know the alternative ways to do it.
... View more
05-13-2016
10:56 AM
|
0
|
3
|
2740
|
|
POST
|
just share the code,so that I can look at the behaviour.
... View more
05-13-2016
09:04 AM
|
0
|
0
|
3953
|
|
POST
|
I am not sure, do you think you can put is on a sandbox?
... View more
05-12-2016
05:51 AM
|
0
|
2
|
3953
|
|
POST
|
The sample does not contain the use of "toJson" function. And I am not able to reproduce the behaviour you mentioned with the sample. Does your code use it anywhere? Could you share that.
... View more
05-11-2016
10:43 AM
|
0
|
0
|
1088
|
|
POST
|
There are couple of opinions out there. Take a look at below links http://www.arcgis.com/home/item.html?id=76abc91cf91445cf957943955d35fb0c json to shapefile in javascript - Geographic Information Systems Stack Exchange Using shp-write to export as shapefile If it is just for persistence and not to use it elsewhere, I would suggest you to just save it as json file.
... View more
05-11-2016
09:27 AM
|
2
|
3
|
5549
|
|
POST
|
The LayerInfos is a array of objects. whereas, the layer property is of type layer and not array. So your Legend should look something like below. var legend = new Legend({ view: view, layerInfos: [{ layer: parkingLayer, title: "Random Layer1" },{ layer: votingLayer, title: "Random Layer2" }] });
... View more
05-10-2016
06:47 AM
|
2
|
0
|
3953
|
|
POST
|
You should be able to find quite a bit of sample and information on using jquery along with esri API. In one of our application we use ESRI api for GIS functions and jQuery for requesting non-gis information and activities. Some examples below Using jQuery | ArcGIS API for JavaScript Attribute editing - mobile | ArcGIS API for JavaScript
... View more
05-09-2016
12:19 PM
|
1
|
0
|
1065
|
|
POST
|
You can you JQuery in your application. But not instead of dojo. ESRI API has been built on top of dojo toolkit. So you need dojo.
... View more
05-09-2016
11:56 AM
|
1
|
0
|
1065
|
|
POST
|
That should not break the app. But to be on safer side. There is a method to check if it is clockwise or not before flipping the coords. var polygon = new Polygon( ... );
var clockwise = polygon.isClockwise(ringData);
if(clockwise){
polygon.addRing(ringData);
}
else {
//flip the coords here
polygon.addRing(ringData);
}
... View more
05-06-2016
01:27 PM
|
1
|
2
|
2704
|
|
POST
|
Hello Dave, Your coordinates looks like is in counter-clockwise direction. The documentation in the addRing method says: add points counter-clockwise to create a hole May be thats what is causing the problem. At this point I am not sure if the Polygon constructor behaves the same way as the addRing does. as It seem you are getting the right centriod when creating the geometry as part of json parameter. Hope this was helpful. Thejus
... View more
05-06-2016
11:42 AM
|
1
|
0
|
5629
|
|
POST
|
Hello Laura, I think it works as expected. As per the documentation for autoSelect Indicates whether to automatically select the first geocoded result. If false , the findAddressCandidates operation will still geocode the input string, but the top result will not be selected. To work with the geocoded results, you can set up a search-results event handler and get the results through the event object. It means that it select the first result graphic and zooms and pops up the infowindow when autoSelect is true. else you need the handle the results your self. i.e. create your own popup or use map.infowindow and set the features to it using the setFeatures method. Hope this was helpful.
... View more
04-28-2016
12:17 PM
|
1
|
1
|
1599
|
|
POST
|
I dont see any tabcontent or timeslider included in the attached html page. Please let me know what is your expectation.
... View more
04-25-2016
08:27 AM
|
0
|
0
|
1651
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-24-2017 07:15 AM | |
| 1 | 09-13-2016 06:27 AM | |
| 1 | 05-21-2015 08:06 AM | |
| 1 | 12-16-2015 05:43 AM | |
| 1 | 07-20-2015 09:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|