|
POST
|
Hi Satyanarayana Narmala, If you are using the JavaScript API you can zoom to a selected Polygon.. After make a query and got the results of the selected state geometry you can use this code for zooming .. map.setExtent(StateResults.features[selected].geometry.getExtent(),true); // Change Extent to Polygon Extent and be fit ..
... View more
06-03-2015
05:31 AM
|
1
|
0
|
2006
|
|
POST
|
Hey sumit zarkar, I know it is looks like bad development, but I feel its the normal way when dealing with IE! I made some modifications on this part. So I re-create the content of InfoWindow which works fine. if (evt.graphic) {
infoTemplate = new InfoTemplate();
var currentTitle = evt.graphic.infoTemplate.title;
infoTemplate.setTitle(currentTitle);
templateDiv = domConstruct.create("div", {
"style" : "background-color:grey; color:white; height:60px",
'innerHTML' : currentTitle
}, null);
templateButton = domConstruct.create("button", {
'innerHTML' : "Button for " + currentTitle
}, templateDiv);
infoTemplate.setContent(templateDiv);
evt.graphic.setInfoTemplate(infoTemplate);
map.infoWindow.show();
} Hope this help you. Regards, Yusuf
... View more
06-03-2015
01:34 AM
|
0
|
2
|
858
|
|
POST
|
Hi, I had face the same issue and the solve was simple .. I define a public Boolean variable and change the value each time I switch measurement On/Off to know the current click map mood ( Measurement vs. InfoWindow ) So, before show up the InfoWindow, you have to check if the mood is InfoWindow mood in a simple if statement ... That will prevent the conflict of the click event handlers. And its works fine with us. Hope this help you. Regards, Yusuf
... View more
06-02-2015
11:51 PM
|
1
|
0
|
1123
|
|
POST
|
Hi, you can but the legend out side of map DIV without need of be inside of map.. anyways there is more flexible solution in such small places like the legend in this sample .. Hope this help you. Regards, Yusuf
... View more
06-02-2015
11:29 PM
|
1
|
6
|
2115
|
|
POST
|
HI, I am using this clusterFeatureLayer for clustering a points of a featureLayer. The problem is the class seems like not supported for printing process .. Any Ideas, Please!
... View more
05-28-2015
03:30 AM
|
0
|
0
|
2767
|
|
POST
|
Hi Adhimoolam D, Check the proprietaries of slider like sliderPosition and sliderStyle, please. I think this will help you. Regards, Yusuf Ali
... View more
04-26-2015
02:07 AM
|
0
|
1
|
586
|
|
POST
|
Did you check this article from esri guide? It may help you in writing a class.
... View more
04-22-2015
11:54 PM
|
0
|
0
|
479
|
|
POST
|
Dear Rami, Idk what is exactly the case, but I think you should publish a FeatureService in order to access to the data-source from REST. more details
... View more
04-21-2015
04:06 AM
|
0
|
1
|
1249
|
|
POST
|
url:"http://services.arcgisonline.com/arcgis/rest/services/ESRI_Imagery_World_2D/MapServer/0"
Add this Feature Layer to the map, but I do not know if it will works fine or not ... 'How to add Satellite above your basemap?', anyways try it!
... View more
04-19-2015
10:24 PM
|
0
|
0
|
1330
|
|
POST
|
map = new Map("map", {
basemap: "satellite",
center: [-105.255, 40.022],
zoom: 13
});
... View more
04-18-2015
10:57 PM
|
1
|
0
|
1330
|
|
POST
|
بسم الله الرحمن الرحيم Dear Nadir, The problem is not clear, but I think it is better to use dgrid in this way. It will handle data easily but you have to make sure about passing fields because it is case sensitive and do not change the "id" column name because the theme will not works fine. I wish this help, Regards.
... View more
04-15-2015
07:48 AM
|
0
|
0
|
347
|
|
POST
|
I recommend this book for you, it will cover all your needs. For sure that the tutorial and samples are very useful too.
... View more
04-09-2015
12:33 AM
|
1
|
1
|
1277
|
|
POST
|
Dear Prahsant, Did you try to use any of restriction methods? or you maybe should not retrieve all attribute data ... https://developers.arcgis.com/javascript/jsapi/graphicslayer-amd.html isVisibleAtScale(scale) setScaleRange(minScale, maxScale)
... View more
04-08-2015
06:42 AM
|
0
|
0
|
547
|
|
POST
|
Dear shabbir, I do not know if this is the reason of the problem, but make sure that you run this code after make sure that all layers has been loaded by using add-layers-result listener or some thing related to this. I hope its works, otherwise post the full code if you can. Regards.
... View more
04-08-2015
06:19 AM
|
0
|
1
|
528
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-09-2016 02:16 AM | |
| 1 | 06-09-2016 03:54 AM | |
| 1 | 06-14-2015 07:53 AM | |
| 1 | 06-02-2015 11:51 PM | |
| 1 | 04-09-2015 12:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|