Comments (5)
Right now the code only uses a geocoder if the singleLineFieldName is defined and if it allows placefinding. The placefinding check shouldn't be in the code so I'll fix that for the next release. For now to get your geocoder to work set the following for the geocode value in the commonConfig.js file:
geocode: [{
url: location.protocol + "//servicesbeta.esri.com/ArcGIS/rest/services/LocateValveByAssetID/GeocodeServer",
singleLineFieldName: "Single Line Input",
placefinding: true
}]
from viewer.
Perfect!! many thanks @kellyhutchins
from viewer.
i'm gonna post here bc i don't want to piss you gals and guys off by blowing up your issues page 😉 and the only place i see the info window is in the geocoder
The info window window that appears on map click is pulling data from the surgo soil map layer though its querying my geom properly... have i set something up wrong in my service or is there something i can change in the viewer?
from viewer.
Not sure I understand the question. If you have popups configured for a layer in the web map they should display in the template application. Are you saying that one of your layers has configured popups but they aren't displaying?
Another option for asking questions is to post your question to the ArcGIS Online section of GeoNet. That way others who run into the same issue will be able to more easily find the question and answer.
from viewer.
well i am not actually using ArcGIS online. i used the hack to use services from our GIS Server implementation which has us building our web map from JSON. the issue with the popups lies in the itemId tag in my custom webmap.js code.
customWebmap.itemData = {
"operationalLayers": [{
"url": "http://<MY URL>/arcgis/rest/services/<MY SERVICE>/MapServer",
"visibility": true,
"opacity": 1,
"title": "Custom Title",
"itemId": "",
"id":"CaneBaseMap"
}],
when i use what is in the samples it is referencing the SSURGO map service item ID. is there a way to fake the item ID or to utilize the HTMl popups in the map service?
Am posting this to the forums as well.
from viewer.
Related Issues (20)
- Save button for Editing tool. HOT 1
- URL parameter "find" not using custom geocoder HOT 1
- Configure Layout HOT 3
- Small UI issue when using black color theme HOT 2
- Portal installation help sought! Not finding JavaScript libraries HOT 1
- add cutvisible and reshapevisble to editor but can not use them ,however the union can workwell HOT 4
- Add documentation in the readme for adding proxy rules HOT 1
- Search Box now generating an error HOT 5
- Search Widget crashes the application on iOS 9.2 and Safari HOT 18
- Print utility doesn't seems to be working with arcgis 10.3 map HOT 2
- ArcGIS for Server map service HOT 1
- the link in resources is lost :Loading a locally-defined webmap, instead of from AGOL HOT 1
- Search Box "Search All Sources" not searching all sources.
- search layer HOT 2
- Add support for definition queries via URL parameter
- Error when reload the map
- Select HOT 1
- Line and profile do not appear
- Language selection HOT 2
- Remove Google Plus from Sharing panel HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viewer.