|
POST
|
Hello Aditya, You are creating the ToolTip dialog on mouse event of FeatureLayer and trying to clear it with the event on map.graphics. which are two different layer. I suggest you to change map.graphics.on("mouse-out", closeDialog) to well.on("mouse-out", closeDialog) Hole this helps. Thejus
... View more
11-09-2015
05:44 AM
|
0
|
3
|
2878
|
|
POST
|
The require function is closed just before where you initialize the var appLayer. you need to write code within that block
... View more
11-06-2015
06:00 AM
|
1
|
0
|
1071
|
|
POST
|
There seems to be some issue with Chrome and esri api animation. see if this applies to you as well. Zoom hangs when going from high level to low
... View more
11-05-2015
07:55 AM
|
1
|
0
|
1504
|
|
POST
|
Hi Richard, The javascriptis compressed and cryptic to understand completely. And I find that on each click the map changes the extent. There is some code in the bootstrapmap like below which I think is causing the problem var n = function(n) {
var t = n._map.infoWindow.location;
t && !n._popupBlocked && (n._popupBlocked = !0, window.setTimeout(function() {
n._repositionMapForInfoWin(t), n._popupBlocked = !1
}, n._popupRecenterDelayer))
};
this.counter = 0;
this._map.on("click", o.hitch(this, function() {
this._map.infoWindow.isShowing && n(this)
})); From the code above I believe, the map repositions on every click if the infowindow is showing. Hope this helps. Thejus
... View more
11-05-2015
07:48 AM
|
0
|
2
|
1519
|
|
POST
|
Seems to be working fine for me. could you let me know which browser you are using?
... View more
11-05-2015
06:06 AM
|
0
|
4
|
1504
|
|
POST
|
Are you talking about the areaUnits and LenghtUnits variables? if so, they are not initialized until the change event on the dropdown occurs. otherwise I can see the dropdown has default selected value. You can set a default value while initializing like var areasUnits = dom.byId("Area").value;
... View more
11-03-2015
11:09 AM
|
0
|
0
|
2623
|
|
POST
|
Can you set a jsbin or something which we can take a look at?
... View more
11-03-2015
09:35 AM
|
0
|
3
|
2623
|
|
POST
|
Do you mean, the dom.byId("coordinates").innerHTML is not updated. if yes, it is a if else statement, by default the dropdown value will be undefined, so the else part of the code will be executed and when you change that only if part of the code will be executed always. you may need to look into the logic you are trying to implement. May be move the switch case outside the else part and just set the symbol in the else section.
... View more
11-03-2015
09:33 AM
|
2
|
1
|
1179
|
|
POST
|
In the html tag set the selected value for the default option you want to be selected like below <option value="UNIT_FOOT" selected>Feet</option>
... View more
11-03-2015
09:22 AM
|
0
|
0
|
2623
|
|
POST
|
Hello Sadanandachar, I usually directly use the dropdown's item property. It will return the object associated with the selected index. var selectedItem = this._queryNameDropDown.item; id = selectedItem.id; Hope this was helpful. Thejus
... View more
10-30-2015
05:56 AM
|
1
|
1
|
1397
|
|
POST
|
Hello Sadananachar, I think that is because of the scope of function. first you need to use this._map and not just _map. Second you need to ensure that the scope of the fuction is at module level. this can be achieved by using lang.hitch. For query task it should be something like this. queryTask.execute(query, lang.hitch(this, this.showResults)); Also in your case you need to ensure that the function where you are setting up the query (_onSubmitClick)is also in the same scope. But In your case it seems to be ok as you are already using this.showResults. If it is not working then you need to hitch it to the right scope as well. Thejus
... View more
10-28-2015
05:54 AM
|
1
|
1
|
3696
|
|
POST
|
When you create a module write something like this. I am just providing you a skeleton/overview. define([...], {
return declare([....], {
_map: null,
constructor: function(map){
this._map = map;
},
//other function/methods
)};
}); and when you create the instance you create it like below, where map variable is esri map object var myMod = new MyModule(map);
... View more
10-27-2015
06:40 AM
|
1
|
1
|
2851
|
|
POST
|
You need either keep the map variable as apart of Global, or when you initialize your module which contains the query, pass the map object as constructor parameter.
... View more
10-27-2015
06:04 AM
|
0
|
3
|
2851
|
|
POST
|
Hello Sadanandachar, The code seems to be ok. Are you getting any error? or the queryResults has Features? Check the developer Tools and network activitiy and see if there were any issues. Try the same query on the rest api, and make sure the where clause is formed correctly. Hope this was helpful. Thejus
... View more
10-27-2015
05:45 AM
|
0
|
0
|
2851
|
|
POST
|
How big(extent) are the Rain Grid polygon, as I understand for any opition, you have about 24 - 30 records for each polygon.so if you can restrict the number of polygon that can be visible at a time. That can improve the performance. Let me know if I understand correctly.
... View more
10-26-2015
12:39 PM
|
0
|
1
|
1417
|
| 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 |
05-13-2026
09:55 AM
|