POST
|
Okay i found my mistake. My layers are in the graphicLayerId array because they are feature's type layer. If i use Dynamic layer or Tiled it's working. So i think i need to read some details on feature service to understand well why i can not use map.getLayer I let my message if that can help somebody.
... View more
06-08-2014
09:29 AM
|
0
|
1
|
370
|
POST
|
Hi, I use a piece of code that loops through a configuration file and create layers according to their type. Then all the layers and add to the map. It works without any problem layers appear correctly on the map, but after when I want to loop over layerId I can not find my layers. I put two screenshots to show in debug mode content. this.map.layerId is empty : [ATTACH=CONFIG]34434[/ATTACH] this.map._layers contains my layers : [ATTACH=CONFIG]34435[/ATTACH] Someone has an answer or perhaps has already across this problem ? Thanks The code is an extract of the great customizable viewer of David Spriggs here: https://github.com/DavidSpriggs/ConfigurableViewerJSAPI
... View more
06-08-2014
08:37 AM
|
0
|
2
|
749
|
POST
|
Hi, I want to use the geocoder service from ArcgisOnline by REST API with my credits. But i don't understand how i can auth my javascript client for use this kind of services. I found the geoservices.js on github but i can't integrate this library on the esri api. Do you have some ideas for help me ?
... View more
02-25-2014
04:51 AM
|
0
|
1
|
435
|
POST
|
Hi everyone! I try to export points into shape by the tool clip and ship. When I try to export more than 10 points, export becomes very slow. Above 1000 points export becomes impossible. I want to export the points contained in the extent into shape in different projections. I need to create a homemade toolbox or use arcobject to improve perf? thanks
... View more
10-18-2012
01:45 AM
|
0
|
0
|
573
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|