|
POST
|
Sarah, Could you tell us what you want to do once the user starts drawing? Maybe there is a different way? Tim
... View more
05-20-2015
06:24 AM
|
0
|
2
|
4291
|
|
POST
|
It only needs minor adjustments, if you customized it just do the following. add the following to the map.on("load"): map.on("load", function () {
toolbar = new Draw(map);
toolbar.on("draw-end", addToMap);
//toolbar.on("draw-complete", addMeas);
editToolbar = new Edit(map);
map.on("click", function (evt) {
editToolbar.deactivate();
});
createMapMenu();
createGraphicsMenu();
map.reposition(); //Add this line
map.resize(); ///Add this line
}); And remove the following from the CSS: html, body {
height: 97%;
width: 98%;
<!--Remove the Margin here-->
} Adding a save button seems like a lot of work and I don;t have the time atm Tim
... View more
05-19-2015
11:52 AM
|
0
|
1
|
764
|
|
POST
|
Maybe this thread can help? Convert a graphicsLayer to JSON
... View more
05-19-2015
11:37 AM
|
1
|
1
|
1868
|
|
POST
|
Michael, it should be fixed with the version I published today. Tim
... View more
05-19-2015
11:26 AM
|
0
|
3
|
3676
|
|
POST
|
Andreea, Did you enable "Allow anonymous access to your organization's website." In your organizational settings? Also see on the bottom here where it says "Share public items when anonymous access is disabled" : Share items—ArcGIS Online Help | ArcGIS Tim
... View more
05-19-2015
11:06 AM
|
1
|
2
|
1227
|
|
POST
|
Tom this is how I do it. below startup write var mymap = this.map; now you can just use mymap within other functions.
... View more
05-19-2015
10:31 AM
|
1
|
1
|
1556
|
|
POST
|
After installing IE11, the offset disappeared but the having to click twice issue is still there... very frustrating.
... View more
05-19-2015
08:31 AM
|
0
|
0
|
2365
|
|
POST
|
I'll install IE11 and see if it is just a issue for my particular version. PS: I am ready for IE to disappear
... View more
05-19-2015
08:06 AM
|
1
|
2
|
2365
|
|
POST
|
Chris, thejus's solution of removing the margin works in IE10 compatibility view but not in IE10 or IE9. I tried your approach but no luck. Does it work here for you ( I have updated the code to include your solution. Advanced Draw
... View more
05-19-2015
07:51 AM
|
0
|
6
|
2365
|
|
POST
|
I updated the code in the link and removed the margin, but I still have the issue of displacement.
... View more
05-19-2015
07:41 AM
|
0
|
0
|
3708
|
|
POST
|
I think you are right, since the dojo themes apply automatic margins around the map. Take a look.
... View more
05-19-2015
07:23 AM
|
0
|
1
|
3708
|
|
POST
|
Thanks for the reply. It lessens the offset but it is still there and so is the having to click twice issue.
... View more
05-19-2015
07:08 AM
|
0
|
0
|
3708
|
|
POST
|
Hey everybody, I am having some issues with an application that I created in IE9 and higher. Here is a link to my application: Advanced Draw When I use it in Firefox, Google Chrome and IE 8 everything works fine. Once I switch to IE9 when I place a point, the point is displaced to the top-left. When I switch to IE10 the same happens and I have to click twice to place a point. I can't figure out what the issue could be. If anybody has any inside! Thanks, Tim
... View more
05-19-2015
06:15 AM
|
0
|
21
|
10150
|
| 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
|