Git Product home page Git Product logo

Comments (5)

kellyhutchins avatar kellyhutchins commented on July 23, 2024

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.

RoboDonut avatar RoboDonut commented on July 23, 2024

Perfect!! many thanks @kellyhutchins

from viewer.

RoboDonut avatar RoboDonut commented on July 23, 2024

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?
2014-10-01_10-40-56

from viewer.

kellyhutchins avatar kellyhutchins commented on July 23, 2024

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.

RoboDonut avatar RoboDonut commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.