|
POST
|
Jurate, looking at your code it seems that you access your rest services through an internal network and not through a web server. i.e. var basemap_tiled = new ArcGISTiledMapServiceLayer("http://pagis06:6080/arcgis/rest/services/Cache/BaseMapCache/MapServer", {
id: "basemap_tiled",
title: "basemap_tiled"
}); Tim
... View more
05-22-2015
05:40 AM
|
0
|
1
|
3376
|
|
POST
|
Richard, I think somehwere in there you need to create an actual graphic, so you can add it to the graphics layer? Graphic | API Reference | ArcGIS API for JavaScript You got your symbol and the geometry, all you need to do is create a graphic from it. Tim
... View more
05-22-2015
05:15 AM
|
0
|
0
|
1801
|
|
POST
|
Hey Michael, If you get it to work please let me know, that would be a great addition to my tool. Thanks, Tim
... View more
05-22-2015
05:06 AM
|
2
|
2
|
7251
|
|
POST
|
Hey Stasy, do you apply this before the layer is drawn the first time or has the layer been in your map for a while? If it is after, you can use the update-end event, which will fire after your layer has been redrawn. Tim
... View more
05-21-2015
07:43 AM
|
1
|
2
|
1375
|
|
POST
|
Joseph, check this out: Custom styling for HomeButton and here: How to get the Home button between the two default zoom sliders? Tim
... View more
05-20-2015
10:38 AM
|
1
|
3
|
2640
|
|
POST
|
Looking at the screenshot, I am pretty sure it has to do with the complexity of your features.
... View more
05-20-2015
07:46 AM
|
1
|
1
|
3841
|
|
POST
|
ArcGIS Online is know to exclude features that have too many vertices. Did you try and run the simplify tool in ArcGIS Dekstop and then try to publish?
... View more
05-20-2015
07:43 AM
|
1
|
1
|
3841
|
|
POST
|
Brad, Do those feature have an excessive amount of vertices? Tim
... View more
05-20-2015
07:13 AM
|
0
|
3
|
3841
|
|
POST
|
Yeah that's true. It would make it a lot easier to do some of the things, like adding measurements, with less code.
... View more
05-20-2015
07:11 AM
|
1
|
0
|
4281
|
|
POST
|
Agreed since you only need to quickly check if a polygon exists, no need to run it long.
... View more
05-20-2015
06:53 AM
|
0
|
2
|
4281
|
|
POST
|
Sarah, this is what I meant, once the draw is active and the person clicked the map, check if your tool is using a polygon. If it does, remove the other polygon and disconnect the map click event. Tim
... View more
05-20-2015
06:35 AM
|
0
|
0
|
4281
|
|
POST
|
But if you really need it. Here is what I did in my draw tool: Javascript API - Advanced Draw widget When the user activates the draw tool i start a map.on("click") event called draw_MapOnClick. So when the user first clicks on the map, the map on click event does something and on draw end I remove the draw_MapOnClick event. Hope this makes sense! Tim
... View more
05-20-2015
06:31 AM
|
1
|
0
|
4281
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-06-2015 06:58 AM | |
| 1 | 05-04-2016 07:27 AM | |
| 1 | 07-06-2017 08:12 AM | |
| 1 | 10-26-2015 11:51 AM | |
| 1 | 12-12-2014 12:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|