|
POST
|
Thanks Robert, I'll give this a try tonight. If anyone else has the other half of the answer, it would be much appreciated. I'm thinking the most reliable way to handle the nuances of this might be the old switcharoo technique, using an PNG or JPG of the map on page load and then swapping it out with the interactive mapDiv when the user clicks on the image. I feel like there should be a more elegant and better way the handle this though.
... View more
08-14-2019
10:35 AM
|
0
|
0
|
1014
|
|
POST
|
Very simple map app. map.js require([
"esri/Map",
"esri/views/MapView"
], function(Map, MapView) {
var map = new Map({
basemap: "streets-navigation-vector"
});
var view = new MapView({
container: "mapDiv",
map: map,
center: [-98.5420115, 39.2241764], // longitude, latitude
zoom: 3
});
}); index.html <head>
<link rel="stylesheet" href="https://js.arcgis.com/4.12/esri/themes/light/main.css">
</head>
<style>
html, body, mapDiv {
padding: 0;
margin: 0;
min-height: 25rem;
width: 100vw;
}
</style>
<body>
<div id="mapDiv"></div>
// Lots of other content...
<script src="https://js.arcgis.com/4.12/"></script>
<script src="map.js"></script>
</body> So you've got a 100% wide map div, which is not very tall at the top of the page, Then a bunch of content underneath it. Think OpenData UI. Very much like that. Now, when a user lands on the page, they hit their mouse-wheel and want to scroll the page. Well, the map starts zooming because the mapDiv is at the top of the page and 100% wide, so odds are very good that the user's cursor is on top of the map, giving it focus. Okay, let's disable that... map.js require([
"esri/Map",
"esri/views/MapView"
], function(Map, MapView) {
var map = new Map({
basemap: "streets-navigation-vector"
});
var view = new MapView({
container: "mapDiv",
map: map,
center: [-98.5420115, 39.2241764], // longitude, latitude
zoom: 3
});
// Don't zoom map when user scrolls mouse - they probably want to scroll the page
view.on("mouse-wheel", function(event) {
view.stopPropogation();
});
}); This solves the problem but creates two additional issues. 1. Now, the user can't zoom the map with their mouse wheel at all. Also, this does nothing for touch devices where the user might swipe to try to scroll the page. In that case, swiping on the map pans it, another unintended interaction. 2. When the user uses their mouse wheel to scroll, since they are likely hovering over the map when using their mouse wheel (given its prominent size and position on the page), the page doesn't scroll because the event is being sent to the mapDiv which is stopping the propagation to prevent the map from zooming and the mouse-wheel event never gets sent to the page body to scroll the page. The assumption is that the user wants to scroll the page when they interact with the mouse-wheel, and if they want to interact with the map, they'll give it focus by clicking or tapping on it. So given the above assumption, how does one disable all map interactions until the viewer expressly clicks/taps on the map to give it focus, and when that happens enable all of the interactions methods and then turn them back off again when the map loses focus by the user clicking or tapping outside of the mapDiv?
... View more
08-13-2019
05:56 PM
|
0
|
2
|
1111
|
|
IDEA
|
That makes a lot more sense. For some reason, I was thinking you wanted to markup a Map presented in the a geopoint survey element. You workflow makes a lot of sense for Apple Pencil support
... View more
08-02-2019
12:47 PM
|
0
|
0
|
2319
|
|
IDEA
|
I understand why Esri allows organizations to accrue negative balances. Frankly, I think its quite generous of them to allow that to happen at all. That said, there are lots of organizations that absolutely need budget certainty is that is impossible with the current set of credit management tools and no way to prevent your organization from going into the hole with credits. Please add the checkbox Esri.
... View more
07-30-2019
10:04 AM
|
0
|
0
|
2796
|
|
IDEA
|
You have a come to Jack moment with your Account Manager when it comes time to pay maintenance
... View more
07-30-2019
10:01 AM
|
0
|
0
|
2796
|
|
IDEA
|
FWIW, I just tried this in Explorer for ArcGIS and it seemed to support my Apple Pencil fairly well. There are some issues with it not using palm detection and dropping points in the markup when it shouldn't (Jeff Shaner). Perhaps you could just open the map that S123 is creating in ArcGIS Explorer until the S123 team gets around to this if they decide to do it?
... View more
07-30-2019
09:58 AM
|
0
|
1
|
2319
|
|
POST
|
Another way to provide an enhanced experience here without having make the user upload an image might be an integration with a stock image service, both paid and free. Unsplash and Pixabay are two very common ones, but even a Getty Images integration could be a neat little feature that would allow users to purchase a stock image for use in a Story Map and Esri could know that image will remain available. That still might now work for cover images because I get your points there, but an image service integration would be pretty sweet.
... View more
07-29-2019
08:19 AM
|
2
|
0
|
1780
|
|
IDEA
|
When managing your data in ArcGIS Online, there is a ca[ability to set a field type which applies a style to the values of a field. There is a glaring omission here. Why is there no phone number field type? As stated in the documentation, the entire premise for this capability is for better handling of field values as appropriate to their type context: Define field value types To help users and client apps identify how field values should be used or represented, you can define what types of values are stored in each attribute field in your hosted feature layer. ArcGIS Online uses field value types to show you the most relevant options when drawing a layer in Map Viewer or configuring popups. A Phone Number field type would be immensely helpful on client apps as the tel protocol, which would allow client apps to handle the value as a telephone number, automatically passing it to their phone app raising a dialog asking the user whether or not they want to call the number when clicked. The same thing goes for a URL field type. Yes. All of this can be handled in your popup configuration but you shouldn't have to. This seems to be the very purpose of setting the field type in the first place.
... View more
07-29-2019
08:12 AM
|
4
|
0
|
1256
|
|
IDEA
|
When managing your data in ArcGIS Online, there is a ca[ability to set a field type which applies a style to the values of a field. There is a glaring omission here. Why is there no phone number field type? As stated in the documentation, the entire premise for this capability is for better handling of field values as appropriate to their type context: Define field value types To help users and client apps identify how field values should be used or represented, you can define what types of values are stored in each attribute field in your hosted feature layer. ArcGIS Online uses field value types to show you the most relevant options when drawing a layer in Map Viewer or configuring popups. A Phone Number field type would be immensely helpful on client apps as the tel protocol, which would allow client apps to handle the value as a telephone number, automatically passing it to their phone app raising a dialog asking the user whether or not they want to call the number when clicked. The same thing goes for a URL field type. Yes. All of this can be handled in your popup configuration but you shouldn't have to. This seems to be the very purpose of setting the field type in the first place.
... View more
07-29-2019
08:12 AM
|
1
|
0
|
545
|
|
POST
|
Thanks Owen! You make some very good points. I know there are some who might link to an image somewhere which they have no control over and one day, poof, its gone and they don't know until its too late. I might suggest an experience for images wherein Esri asks a simple question via a modal dialog when a user tries to upload an image. Something like: I want to host and manage this image myself | I want ArcGIS StoryMaps to host & manage this image for me The former would give you an input box to enter a URI. The latter would open a file select dialog and upload it to ArcGIS Online. Then, add a checkbox somewhere on the dialog to 'Remember my selection'. Left unchecked, they'll see that dialog every time they upload an image, allowing them to manage some images and let Esri manage others. Ifchecked, the user's choice is remembered and the appropriate experience is delivered based on that selection for the remainder of their session. All of these things could be managed with some simple cookies and the cookies could be invalidated whenever the user published their StoryMap or closed their tab. Just my two cents. Speaking of cents, just .10/month per (average) StoryMap is pretty good. Anyway, there's doesn't appear to be an embed option on the cover page though. There's only two options: Add Image and Add Video. Both open a file select dialog. I don't see a way to use the Embed Widget there.
... View more
07-26-2019
03:00 PM
|
2
|
2
|
1780
|
|
POST
|
I was playing with the New ArcGIS StoryMaps and got bummed out on the first page. Maybe I'm doing it wrong, it is a whole new experience, but it seems there is no way to reference an image via its URI. Instead, I have to upload the image to be hosted on, I assume, ArcGIS Online which will cost credits. No bueno. I'm already paying AWS for an S3 bucket so I can use my images elsewhere. I don't wanna upload images. Is there a way for me to just reference my image's public URI?
... View more
07-26-2019
01:11 PM
|
0
|
5
|
1901
|
|
IDEA
|
All valid considerations, Aaron. Given that context, it's difficult not to agree with the path the team is currently taking. I really appreciate how engaged this team is and how open you all are about the rationale for these decisions. Certainly, this team has no obligation to justify the decisions being made behind the scenes but it's incredibly helpful for myself and other users to understand the context and details behind them so that we can explain why this app and others work the way they do when we get these same questions. I've often found myself in a situation where an end users asks a really good question and I know there's a really good answer, but I simply don't have the context and can't lay it out for them. Thanks to this team for being so engaged!
... View more
07-17-2019
06:40 AM
|
0
|
0
|
1526
|
|
IDEA
|
The app can be licensed for any USER TYPE that is VIEWER or higher. That doesn't make sense. Maybe your Account Manager meant higher than Viewer. A Viewer couldn't possibly use Tracker. Certainly, they could view the tracks layer produced by Tracker on the web, but unless Esri has a Viewer experience in Tracker that allows them to see the tracks of others, I don't know what the point would be for a Viewer user type to have access to Tracker. I'm sure Jeff Shaner or Craig Gillgrass will shed some light whenever they have recovered from UC.
... View more
07-16-2019
09:35 AM
|
1
|
1
|
1526
|
|
IDEA
|
It would be really, really, really great to be able to have versioned data in the ArcGIS Datastore. It's hard to host authoritative data in the datastore when I can't look back on previous versions of the item and see all of the edit history and be able to revert.
... View more
07-16-2019
09:31 AM
|
3
|
0
|
817
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-23-2021 07:28 AM | |
| 1 | 05-29-2018 04:52 PM | |
| 1 | 08-18-2022 10:22 AM | |
| 2 | 08-20-2021 09:29 AM | |
| 2 | 02-19-2020 11:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-19-2023
08:06 PM
|