esri / information-lookup Goto Github PK
View Code? Open in Web Editor NEWWeb app template that is used to determine if the location specified intersects a polygon
License: Apache License 2.0
Web app template that is used to determine if the location specified intersects a polygon
License: Apache License 2.0
Move the side panel to under the header, not next to it.
I'm getting a "layer.layerObject is undefined" error when launching the map on FF 31 through both Esri's hosted application and when I setup the map to be hosted locally on my webserver. Chrome 36 throws a "Cannot read property 'layerInfos' of undefined".
Here's the map:
http://bit.ly/1o7qOLI
Here's the ESRI hosted webapplication with the error:
http://kingcounty.maps.arcgis.com/apps/InformationLookup/index.html?appid=400507e78aab484dbaa83b07a83afdb5
Having trouble tracking down the cause.
I was just wondering if there is a plan to add a print option to the Information Lookup template. Or if anyone have custom configure it? Thank you, Nataliya
The current app only reports outside service area if no features are returned.
I'm using multiple feature layers to display in the standard app popup, I need the service area to report additional information from a standard popup even if the feature is outside the service area.
For example, I need parcel information AND floodplain information to appear in the popup when intersect = true. I need just the parcel information presented if intersect = false.
Please add a capability to share the info window content with a copy of the map for context.
determine if pop up requires a carriage return and auto add it,
I tried setting the default geocoder to something other than ESRI's World Geocoder and it doesnt seem to stick and reverts back to it. Is there another location where it needs to be set besides the commonconfig.js?
geocode: [{
url: location.protocol + "//utility.arcgis.com/usrsvcs/servers/a88702314a8a48cb84d0a6305f1adcb6/rest/services/locators/RLIS_Locator/GeocodeServer"
}]
details here - https://geonet.esri.com/message/548579
pop up would be shown in result
option to show map
adding searchExtent: true to the config should limit the search to the extent, expose this as a configuration option
I'm trying to configure the popup width when configured to open in the side panel. Having a little trouble identifying the correct location to configure.
As a citizen, I need to search for my parcel (or a parcel that I’m thinking about purchasing) by address or parcel number and select it on the map. From that selected parcel, I need to find out if it is in the floodplain (intersected feature).
Screenshot – these parcels are technically in the floodplain but the address search reports them “not” in the floodplain.
Determine a way to hide data not part of the lookup results(wells not in aquifer) or display a selection symbol on results in the lookup area.
I have an issue where the popup text is not cleared even though the popup itself is closed.
I'm having a problem getting links I have configured on my map to show properly when used in the template. Everything else works great. I tried several and no luck. See image below.
Here is a link to the map I am using for popups, maybe it has something to do with the way I configured them?:
http://arcg.is/1PhUvW9
Repro Steps:
Cannot get back to my web-map specified basemap. This could be a general enhancement to the basemap control, not sure.
use the splash screen style dialog or some other method to let the user choose which select by feature they want to use. Support highlighting row to aid the user.
I have an issue where the popup text is not cleared even though the popup itself is closed. Thanks
Filters applied to the webmap to hide/remove polygons are not honored by the info lookup template.
Address, POI is great - but what about user specified search options line parcel no., owner name, fire name, etc.
The new Basic Viewer does this COTS.
Chrome and Safari crashes on a mobile device when trying to query a location.
Instead of having the app jump to the next valid level of geometry when the user enters an invalid address, we've had one customer who would instead like to have the app provide some sort of prompt or warning if either incomplete address information is entered or if an address is not resolved. This prompt would be displayed if the entered address does not meet a configurable match threshold.
I'm using this template through AGOL (created a web map and shared it using the Information Lookup template). The link button at the bottom of the docked pop-up does not offer sharing options. Clicking it results in the same web app opening in a new tab.
When changing the popup width, doesn't update popup.
Hi,
I was working with one of the user's and I could not get this to work using a custom Geocoder URL. I have downloaded this template and hosted it on my server.
I tried adding my own url under DEFAULT.JS FILE. --> HELPERSERVICES --> GEOCODE.url but this doesn't seem to work.
I also tried replacing world geocode url from commonConfig.js file but no luck over there.
When I debugged in search.js file it only adds World Geocoder to the Search sources. Do I need to change anything else anywhere? I do not want to use search widget directly on my layer.
Would you be able to test this when you get a chance?
Thanks,
Akshay
Esri Technical Support
Example Structure
{
"type":"multilayerandfieldselector",
"fieldOptions":{
"supportedTypes": [
"esriFieldTypeString"
]
},
"layerOptions":{
"supportedTypes":[
“FeatureLayer”
],
"geometryTypes": ["esriGeometryPoint", "esriGeometryLine"],
},
"fieldName":"searchLayer",
"label":"Select search layer"
},
Example:
https://www.oregonlegislature.gov/findyourlegislator/leg-districts.html
Each layer becomes a tab, each tab has all the features from the layer, each feature is clickable. Tabs can toggle visibility
I have found that if a layer with thousands of small polys is used as a lookup layer then on some browsers or slower internet connections, the first search will produce the error message about the search being out of bounds or something. This is simply because the search was fast and tried to return data before the lookup layer could load. It would be nice if the app could wait until all layers have loaded before trying to produce data in the side panel.
expose config parameter to remove the basemap picker.
When using the information lookup combined popup functionality, URLs are not being generated correctly from a custom popup authored from a webmap.
URL Example: http://map1.msc.fema.gov/bundle/{FIRMPANEL}.zip
I tracked it down to line 403 and 416.
403: if (layer.featureCollection !== null) {
416 } else if (layer.layerObject !== null) {
Both line crash when object is undefined.
They should be
403: if (layer.featureCollection != null) {
416 } else if (layer.layerObject != null) {
which will detect both null and undefined.
I think this was right at a time in the past but somehow was reintroduced later on.
If an image, set in the web map's pop-up media, becomes unavailable, the app will linger when querying a location with this pop-up image. Ideally, an image should not be unavailable however would it be possible to still have the pop-up display with the image unavailable icon, like what happens in the web map?
Looks like the splash screen is currently hard coded with a height value. Content will get cut off if it goes beyond the max height of the div
Published a single feature service as both a map and feature service.
Added the map service to a web map and enabled pop-ups. Configured with Info Lookup and receive:
Lookup Layers Settings
Lookup LayersNo layers available. Check your web map for valid layers.
Here's the map service and web app I used.
Went pecking in the source code and came across this.
Allow the configuration of a different point symbol when locating by searching for an address or simply clicking on the map.
Currently if you have a large intersecting feature, you may want to turn off zoom level.
Allow the user to custom format the text, will only support one line
Add a method to make the pop up clickable to zoom to the resulting feature
With more and more layers being added to our map, it'd be nice to have a legend so users'd know what are those symbols. What do you think?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.