|
POST
|
I'm not sure you can adjust the length of the leader (the distance between the feature and the popup). I think the leaders are just images so they have a set size: http://js.arcgis.com/3.13/esri/dijit/images/popup.png
... View more
04-27-2015
11:49 AM
|
0
|
1
|
2564
|
|
POST
|
I have no answer or solution; just a sympathetic "hear hear." This mindset is exactly where I have been about Portal. Our organization already has advanced AGS Server so I was thinking that Portal would be the way to go. I saw the comment in the other thread you were alluding to and that was definitely a bummer. I'll be interested in the informed responses that come up in this thread!
... View more
04-24-2015
11:33 AM
|
1
|
1
|
2001
|
|
POST
|
Doh. I just realized after posting that my Developer Tools window in my screen shot was covering up a "browser not supported" message so maybe the compatibility view setting is irrelevant in this situation.
... View more
04-22-2015
11:16 AM
|
1
|
0
|
4322
|
|
POST
|
Hey Michael, We aren't using WAB up here but I did notice something while playing around. Your site works fine no matter what I attempt to tweak in IE-11 but- when I switched to another computer that still has IE-8, I noticed that compatibility view gives me that blank white screen. Normal IE-8 Compatibility View: Just from my own work with the JS API, I seemed to notice that compatibility view in IE would always cause things to not work. Maybe you need to force non-compatibility using a user agent string?... Steve
... View more
04-22-2015
11:01 AM
|
0
|
1
|
4322
|
|
POST
|
Rickey, That's weird. It works when I'm logged into JSFiddle but not when I'm logged out. Oh well. Glad the code helped you, though!
... View more
04-20-2015
04:19 PM
|
0
|
0
|
1584
|
|
POST
|
Here's a simple Fiddle showing you the essential code to do this. You just need to tie into the map's click event and then add your graphic in that event handler's function. Steve
... View more
04-20-2015
02:07 PM
|
1
|
2
|
1584
|
|
POST
|
I think this question comes up periodically. Here's a discussion from back in January which might help you: How to add a shapefile without ArcGIS Online
... View more
04-20-2015
08:11 AM
|
1
|
0
|
2375
|
|
POST
|
I think Joe Borgione is on the right track with the Health Department or possibly department of licensing. Restaurants need licenses to operate so you may be able to get a tabular list that you would then need to geocode. I did something similar in my local county to map out the locations of all hotels using the license list provided by my state's Department of Licensing.
... View more
04-16-2015
11:31 AM
|
2
|
0
|
6634
|
|
POST
|
Short answer- ours (a County government) is not. We have some consensus within our organization to attempt to use Portal but when that actually happens has yet to be determined. We already pay for enterprise ArcGIS Server so I can't stand the thought of being nickel & dime'd by ESRI for an AGOL subscription.
... View more
04-16-2015
09:11 AM
|
4
|
0
|
2742
|
|
POST
|
Man- I keep forgetting that you can still do that with the current API versions! That took care of the problem, both in my pared down Fiddle and my application. Thanks again!
... View more
04-08-2015
04:07 PM
|
0
|
1
|
1631
|
|
POST
|
Kelly Hutchins Ugh. Is there anything in this code base/example that would prevent it from working under legacy Dojo and a previous API version (3.4 to be exact)? I'm trying to add this to an application that is legacy based and API v3.4 but it throws an error as you try to edit the vertices. Here's a legacy version of my original Fiddle. I tried laying it out in the same manner as the AMD version I originally linked. Depending on which browser you use, you get an error after you double click your sketch: "Uncaught TypeError: Cannot read property 'add' of null" (Chrome) "TypeError: this._scratchGL is null" (Firefox) Both errors point to vertexMover.js, line 19. I know the app should migrate to AMD but it's got a half dozen JS files and I still haven't been able to wrap my brain around migrating something that large an complex. Anyways, I used AMD in my pared down example because that's what all the current examples/docs are based on (path of least resistance). Steve
... View more
04-08-2015
03:43 PM
|
0
|
3
|
1631
|
|
POST
|
It's the way I've always done it but I don't know if it's the right way.
... View more
04-08-2015
11:42 AM
|
0
|
1
|
1340
|
|
POST
|
You can do this. I don't know if there are additional ways of doing this but I do this using a click event handler for each layer: theLayer.on("click", function(evt) {
map.infoWindow.resize(350, 275);
}); If you wanted to reset the infoWindow back to a default size, you can do that in a similar manner: map.infoWindow.on("hide", function(evt) {
map.infoWindow.resize(400,300);
}); Just tweak the height/widths until you're happy. Steve
... View more
04-08-2015
11:16 AM
|
1
|
3
|
1340
|
|
POST
|
I'm trying to add some additional functionality into an application of mine. In my current application, a user has the ability to draw a point, line, or freehand polygon, and the resulting graphic is stored in a GraphicLayer. If they mess up their sketch, they have to start over. I'm now trying to enhance this so that they can simply modify their original sketch. I'm modeling that enhancement after this sample where a user double-clicks on the graphic and then the vertices appear and are moveable. The good news is that I have the basic coding down but I have a slight issue. The GraphicsLayer has an InfoWindow template defined and whenever you double click a graphic to edit or save your edits, the infoWindow pops up. I'm having trouble figuring out where to stop this behavior. I've managed to package up the essential aspects of what I described into a JSFiddle here. Thoughts? Ideas? Thanks! Steve
... View more
04-08-2015
10:56 AM
|
0
|
6
|
5014
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Friday | |
| 1 | Thursday | |
| 1 | Thursday | |
| 1 | Thursday | |
| 1 | Wednesday |