|
POST
|
Another option is discussed on the map journal github page. Scroll down to the section that starts with "You can also add that capability to map feature popups." Here's a conversation detailing the process a little more thoroughly. I had to use this method the find the layerID. Also for some reason my feature class was having trouble with the OBJECT ID as the identifier so like Tim I created a new field with section number. My app is here and my code looks like this: <script type="text/javascript" src="app/main-config.js"></script> <script type="text/javascript"> require(["dojo/topic"], function(topic) { /* * Custom Javascript to be executed while the application is initializing goes here */ // The application is ready topic.subscribe("tpl-ready", function(){ /* * Custom Javascript to be executed when the application is ready goes here */ }); //scott /* * Set up a click handler on the feature of the map to navigate the story */ // // ************************************* // Configure the webmap id and layer id // ************************************* // // First find the webmap id through the URL when you open the map in Map Viewer // To get the layer id, paste the webmap id below and open the application, // then open the developer console, all the layers ids will be listed, // find the correct one and paste it below // After this setup, clicking the 3rd feature of your layer, will navigate to the third entry // var WEBMAP_ID = "c62e6684ad464af08922c040acd8e78b", LAYER_ID = "ZooTour_9137"; var clickHandlerIsSetup = false; topic.subscribe("story-loaded-map", function(result){ if ( result.id == WEBMAP_ID && ! clickHandlerIsSetup ) { var map = app.maps[result.id].response.map, layer = map.getLayer(LAYER_ID); console.log(map.graphicsLayerIds); if ( layer ) { layer.on("mouse-over", function(e){ map.setMapCursor("pointer"); map.infoWindow.setContent("<b>"+e.graphic.attributes.name.split(",")[0]); map.infoWindow.show(e.graphic.geometry); }); layer.on("mouse-out", function(e){ map.setMapCursor("default"); map.infoWindow.hide(); }); layer.on("click", function(e){ var index = e.graphic.attributes["SECTIONNUM"]; topic.publish("story-navigate-section", index); }); } clickHandlerIsSetup = true; } }); }); </script>
... View more
06-08-2016
05:32 AM
|
1
|
0
|
1470
|
|
POST
|
I haven't seen an example of this but is it possible to add a splash screen to any of the story maps? We're self-hosting our story maps. Scott
... View more
06-07-2016
08:38 AM
|
0
|
4
|
3488
|
|
POST
|
It takes a bit of configuring but it can be done. Are you self hosting the story map or using ArcGIS Online?
... View more
06-07-2016
06:45 AM
|
0
|
1
|
1470
|
|
POST
|
I've tried this and it is also unsuccessful. Again, the thing that's odd is that the issue only happens some of the time and seemingly random. To give another example, I just had the following happen to me this morning. I opened CE and saw what you can see in Image 1. The black areas are facades that I have applied textures too and you can see the file path of the image. Everything seems fine except it just doesn't show up. I shut down CE and immediately reopened, no other changes, and encountered Image 2. Everything works again. If the issue was simply a matter of rebooting CE, it would be a hassle but I could live with it, however I've recently encountered a few situations where I've rebooted CE multiple (i.e., 5) times and rebooted the computer itself a few times and the facades are still black. As I noted in the thread above, I thought that if I changed the type of image from .png to .jpg it would fix it, but after a few days it started happening again. The whole situation has definitely progressed from a nuisance to a significant workflow hindrance.
... View more
05-31-2016
06:06 AM
|
0
|
0
|
2133
|
|
POST
|
Thomas, I am running 2015.2. I thought I had fixed it by switching the .png to .jpeg but it started happening again. Scott
... View more
05-23-2016
05:24 AM
|
0
|
1
|
2133
|
|
POST
|
It appears that if you change the images to .jpg the issue is resolved which is weird since .png is the default file format when using the crop image function. Now, any idea how to change the file path of each facade in bulk? UPDATE: It turns out this didn't fix the problem. Still looking for a solution.
... View more
05-16-2016
09:19 AM
|
0
|
2
|
2133
|
|
POST
|
I opened this thread last year and never really found a solution and though it continued to happen off and on, I could continually restart CE and finally get it to work. However this approach doesn't seem to be working anymore. Nothing has changed with my computer setup or specs. It also doesn't even affect all of the facades with the same texture file path (see attached). It's quite irritating and fairly significant efficiency drag. Any ideas?
... View more
05-13-2016
11:35 AM
|
0
|
8
|
7502
|
|
POST
|
Was the layout used here and here ever released? There are multiple references about it coming soon (The Story Maps Life Cycle | Esri Insider, A preview of Story Maps to come) but I've never actually seen it anywhere. It's a fantastic and engaging template and I'd love to be able to use it. Scott
... View more
05-09-2016
07:18 AM
|
1
|
10
|
3339
|
|
POST
|
I'm trying to export a street (graph) layer to a file GDB which works but when I import the multipatch back into the same scene, its location and scale are way off. I've done this before without issue so I'm not understanding the problem. It's almost as if the data is being exported using a different coordinate system and/or measurement unit than the scene. Thoughts? Scott
... View more
04-15-2016
09:29 AM
|
0
|
1
|
2947
|
|
POST
|
For some reason I'm not able to configure the Zoom Scale on the search widget using the following feature layer: Layer: Market Vendors (ID: 0) The other layers in that same map service work but for some reason this one won't. The box for Zoom Scale just isn't available. Am I missing something? Scott
... View more
04-08-2016
12:52 PM
|
1
|
6
|
3834
|
|
POST
|
Javad, What's the location for the ArcGIS Pro "tasks" area you're referencing? Scott
... View more
03-29-2016
06:55 AM
|
0
|
1
|
4313
|
|
POST
|
Yeah that did it. I'm running Windows 10 so I actually used the 3D builder app and it worked really well ( I don't have access to SketchUp). Thanks. Scott
... View more
03-29-2016
06:34 AM
|
0
|
1
|
3848
|
|
POST
|
I've modified a street network using David's Complete Streets rule and I want to transfer it to an already existing scene as is. If I export the data out as a graph it doesn't retain the rule parameters I have modified. Has anyone been able to do this? Scott
... View more
03-23-2016
08:20 AM
|
0
|
2
|
2606
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-27-2017 01:27 PM | |
| 1 | 12-22-2017 12:29 PM | |
| 1 | 07-19-2016 01:28 PM | |
| 1 | 12-28-2017 08:00 AM | |
| 1 | 12-11-2015 01:55 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|