POST
|
Thanks for the information, Scott. I needed something that stayed on the screen so residents could read some simple instructions to help them navigate the new map better. I can make something myself - I just was curious if anyone knew of a way within the JS API to do it. Also, I really like your search widget. I don't think I've ever come across anyone else who uses that style over the traditional simple search widget. I might have to incorporate that into my maps... Nathan
... View more
10-06-2017
06:09 AM
|
0
|
1
|
983
|
POST
|
I'm building a new app with the 4.5 version of the JS API and wondered if anyone knows of a built-in or predefined way to display a splash screen when a user first opens the app.
... View more
10-03-2017
01:27 PM
|
0
|
3
|
1737
|
POST
|
Ryan, No, I haven't figured out why it isn't working on my machine. It works on just about every other one I've tried, but not mine. I'm sure it's just some advanced configuration I changed a long time ago for some reason and now I don't remember where it is to change it back. If I figure it out, I'll let you know.
... View more
05-09-2017
11:19 AM
|
0
|
0
|
1122
|
POST
|
My default is Chrome v57.0.2987.133. I've also tried Internet Explorer v11.953.14393.0 with no luck either.
... View more
04-10-2017
09:00 AM
|
0
|
1
|
1122
|
POST
|
Thanks for the reply, Robert. I gave this to a few users to test and they didn't seem to have any issues with it. It must be how I have something configured on my computer as it doesn't work with any Internet browser.
... View more
04-10-2017
08:32 AM
|
0
|
3
|
1122
|
POST
|
I have imagery dating back 20 years or so that I need to add to my Basemap Gallery widget in a v4.3 map. Has anyone figured out how to add these custom basemap layers to the widget in this version of the APi? Here's an example of one of the layers I'd like to add to the Basemap Gallery. // Mapbox Basemap URL
var mapbox = new WebTileLayer({
urlTemplate: "https://api.mapbox.com/styles/v1/mapbox/streets-v10/tiles/256/{level}/{col}/{row}"
});
// Mapbox Basemap
var mapboxBasemap = new Basemap({
baseLayers: [mapbox],
title: "Mapbox",
id: "mapbox",
thumbnailUrl: "includes/images/mapbox.PNG"
}); This is how I have the Basemap Gallery widget styled right now. I'm using an Expand on it, so it may look different than the normal widget layout. //Basemap Gallery Widget
var basemapGallery = new BasemapGallery({
view: view,
container: document.createElement("div")
});
var basemapGalleryExpand = new Expand({
view: view,
content: basemapGallery.domNode,
expandIconClass: "esri-icon-basemap"
});
view.ui.add(basemapGalleryExpand, {
position: "top-right"
}); Also, does anyone known the line to hide the default ArcGIS Basemaps in the widget? The old line doesn't/didn't work in this version of the API. (Below is the old line of code that used to hide the default basemaps.) showArcGISBasemaps: false,
... View more
04-10-2017
08:30 AM
|
0
|
10
|
5353
|
POST
|
In the 4.3 version of the JS API, I can't format the hyperlinks within a popup to open. They open if you right click > open in new tab, but not just left clicking on the text itself. Below is the code I'm using for the template. var annexationTemplate = {
title: "{ANNEX}",
content: "<strong>Ordinance:</strong> {ORD}" +
"<br /><strong>Effective Date:</strong> {DATE:DateFormat(selector: 'date', fullYear: true)}" +
"<br /><strong>Annexation Map: </strong><a target='_blank' href={URL_MAP}>Annexation Map</a>" +
"<br /><strong>Legal Description: </strong><a href={URL_DESC}>Legal Description</a>"
}; Anyone else come across this issue? It's new to me in 4.X. My previous apps build in 3.X have worked fine.
... View more
04-05-2017
11:37 AM
|
0
|
7
|
2695
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|