POST
|
I'm new to Calcite and have been having trouble with entering a year in the Date Picker when I use an alert. If an alert has been open, than the Date Picker year entry box doesn't seem to function properly. Once the user selects a date after the incorrect year appears than the date picker works again. Here is a codepen using the calcite sample with a datepicker and an alert. Thank you and I appreciate any help on this. <html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>Calcite Components: Create a mapping app</title>
<script src="https://js.arcgis.com/calcite-components/1.2.0/calcite.esm.js" type="module"></script>
<link rel="stylesheet" href="https://js.arcgis.com/calcite-components/1.2.0/calcite.css" />
<script src="https://js.arcgis.com/4.26/"></script>
<link rel="stylesheet" href="https://js.arcgis.com/4.26/esri/themes/light/main.css" />
</head>
<style>
html,
body,
#viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
body {
display: flex;
}
calcite-loader {
align-self: center;
justify-self: center;
}
#header-title {
margin-left: 1rem;
margin-right: 1rem;
}
#info-content {
padding: 0.75rem;
}
calcite-rating {
margin-top: 0.25rem;
}
</style>
<body>
<calcite-loader></calcite-loader>
<calcite-shell content-behind hidden>
<h2 id="header-title" slot="header">
<!-- Dynamically populated -->
</h2>
<calcite-shell-panel slot="panel-start" detached>
<calcite-action-bar slot="action-bar">
<calcite-action data-action-id="information" icon="information" text="Information"></calcite-action>
</calcite-action-bar>
<!-- Map-specific panels (each one provides a div for a ArcGIS Maps SDK for JavaScript widget) -->
<!-- Info panel (populates with info from the web map) -->
<calcite-panel heading="Details" data-panel-id="information" hidden>
<div id="info-content">
<calcite-date-picker id="noRangePicker"></calcite-date-picker>
</div>
</calcite-panel>
</calcite-shell-panel>
<div id="viewDiv"></div>
</calcite-shell>
<!--initial alert that provides liability info-->
<calcite-alert kind="info" open icon auto-close auto-close-duration="fast" placement="bottom"
label="Info Liability" id="alert-info-liability">
<div slot="message">
This online parcel map is for reference only and no liability is
assumed for any inaccuracies, incorrect data or variations from an actual survey.
</div>
</calcite-alert>
</body>
<script>
require([
"esri/WebMap",
"esri/views/MapView",
], function(WebMap, MapView) {
const webmapId = new URLSearchParams(window.location.search).get("webmap")
?? "210c5b77056846808c7a5ce93920be81";
const map = new WebMap({
portalItem: {
id: webmapId
}
});
const view = new MapView({
map,
container: "viewDiv",
padding: {
left: 49
}
});
view.ui.move("zoom", "top-left");
map.when(() => {
const { title, description, thumbnailUrl, avgRating } = map.portalItem;
document.querySelector("#header-title").textContent = title;
let activeWidget;
const handleActionBarClick = ({ target }) => {
if (target.tagName !== "CALCITE-ACTION") {
return;
}
if (activeWidget) {
document.querySelector(`[data-action-id=${activeWidget}]`).active = false;
document.querySelector(`[data-panel-id=${activeWidget}]`).hidden = true;
}
const nextWidget = target.dataset.actionId;
if (nextWidget !== activeWidget) {
document.querySelector(`[data-action-id=${nextWidget}]`).active = true;
document.querySelector(`[data-panel-id=${nextWidget}]`).hidden = false;
activeWidget = nextWidget;
} else {
activeWidget = null;
}
};
document.querySelector("calcite-action-bar").addEventListener("click", handleActionBarClick);
let actionBarExpanded = false;
document.addEventListener("calciteActionBarToggle", event => {
actionBarExpanded = !actionBarExpanded;
view.padding = {
left: actionBarExpanded ? 150 : 45
};
});
document.querySelector("calcite-shell").hidden = false;
document.querySelector("calcite-loader").hidden = true;
});
});
</script>
</html>
... View more
04-13-2023
03:42 PM
|
0
|
1
|
355
|
POST
|
In the Pro Parcel Fabric when you traverse an entire subdivision what do you do with the historic/parent parcel? Before doing the traverse do you run the Set Historic tool on the parent parcel or do you run the Delete Parcel tool on the parent parcel? When these tools run do the lines also get retired/deleted or do you have to select the lines separate. I've been having trouble with the workflow and I can't tell if it is my imported data that is giving me strange results or if I'm not using the correct tools. Thanks for the help.
... View more
12-08-2020
04:07 PM
|
0
|
1
|
760
|
POST
|
Are there any limitations to working within Pro and what are the advantages? Do you need to work with data from your Portal or can you bring layers directly from the Pro Project?
... View more
09-17-2020
08:54 AM
|
0
|
1
|
351
|
POST
|
Rupert, I think I have it fixed now but if you would like to try and reproduce the error this is the source data web map. http://utahcounty.maps.arcgis.com/home/webmap/viewer.html?webmap=32f1a0ee2943468a9558d6d9d3e3cc7c I did notice when I imported that it only imported my first tab data. I added all the other tabs and data using the story map builder in ArcGIS.com. Thanks for all the work, I really like the new template with the larger photos. I'm excited to get it published to our website, I just need to work on some of my other data in the webmap. Curtis >>> Rupert Essinger <geonet@esri.com> 9/20/2016 10:43 AM >>> GeoNet ( https://community.esri.com/?et=watches.email.thread) Re: How are points in a Shortlist Story Map Tab ordered? reply from Rupert Essinger ( https://community.esri.com/people/ressinger-esristaff?et=watches.email.thread) in Story Maps - View the full discussion ( https://community.esri.com/message/635841-re-how-are-points-in-a-shortlist-story-map-tab-ordered?commentID=635841&et=watches.email.thread#comment-635841) Sorry about the issue Curtis. I'm going to try and reproduce your workflow this morning to see what happened. Assuming your original web map with your starting source data is publicly sharable data, could you post a link to that map so I can start from the same set of data. Rupert Reply to this message by replying to this email, or go to the message on GeoNet ( https://community.esri.com/message/635841-re-how-are-points-in-a-shortlist-story-map-tab-ordered?commentID=635841&et=watches.email.thread#comment-635841) Start a new discussion in Story Maps by email ( mailto:discussions-community-gis-web--gis-storymaps@mail.geonet.esri.com) or at GeoNet ( https://community.esri.com/choose-container.jspa?contentType=1&containerType=14&container=2110&et=watches.email.thread) Following Re: How are points in a Shortlist Story Map Tab ordered? ( https://community.esri.com/message/635841-re-how-are-points-in-a-shortlist-story-map-tab-ordered?commentID=635841&et=watches.email.thread#comment-635841) in these streams: Inbox This email was sent by GeoNet because you are a registered user. You may unsubscribe ( https://community.esri.com/unsubscribe.jspa?email=curtisw%40utahcounty.gov&token=a56449d94a0847fca3a98fdc1f89abf0de6df3e958d4a70c8c53fc390aaf9469) instantly from GeoNet, or adjust email frequency in your email preferences ( https://community.esri.com/user-preferences!input.jspa)
... View more
09-20-2016
10:41 AM
|
0
|
1
|
255
|
POST
|
I'm not sure what fixed it but it is working now. I used the Organize button to change the order to an incorrect order and then changed the order back to the correct order and it fixed it. The right arrow now advances to the points 1,2, 3, 4... Previously it had advanced in the order 1, 2, 10, 8, 7... eventhough it appeared correct in the numbered list. The order must have needed to be reset or something. I also tried to reorder it in the webmap but I don't think that is what fixed it.
... View more
09-20-2016
09:36 AM
|
0
|
3
|
739
|
POST
|
I'm also having problems with this in the new Shortlist 2.0. I imported my point data from a previous shortlist webmap and I added a few new points. In my first map tab the points are out of order when I use the left and right arrow to navigate in the side window. I suspect that it imported using the OID field to sort by and not my custom number field. I also added some new points which further changed the order. Do I need to start over and not import data, and instead just manually add my data? Is there anyway to get it to sort the way I have organized it manually in the shortlist builder. Here is a link to my webmap. http://utahcounty.maps.arcgis.com/apps/Shortlist/index.html?appid=a033de2eb1bb43e8a55265c3acf13dc9 Thanks, Curtis
... View more
09-20-2016
08:02 AM
|
0
|
4
|
739
|
Online Status |
Offline
|
Date Last Visited |
04-17-2023
06:53 PM
|