Coder Social home page Coder Social logo

Comments (7)

tmcgee avatar tmcgee commented on August 11, 2024

@cmccullough2 Is the spatial reference of the map something other than 4326 or 102100? If so, a Geometry Service is used to generate the buffer geometry. While I can't tell for sure, based on my best interpretation of the error, it appears that the geometry returned from that service does not have an extent. You can check the network tab of the Chrome console to review the request to that service and the response.

P.S. Based on the line numbers, the AttributesTable widget itself does not appear to be minified. The reference to S variable within init.js is within the Esri JavaScript API. The line numbers presented suggest that you are using an older version of the widget so I can't tell exactly which exact lines are involved.

from cmv-widgets.

cmccullough2 avatar cmccullough2 commented on August 11, 2024

The spatial reference is 102100. I also migrated from 3.21.to 3.25. I may just have to upgrade the widget. I have been meaning to, but I am so swamped with day to day tasks. Thank you for the quick reply.

from cmv-widgets.

tmcgee avatar tmcgee commented on August 11, 2024

Ok. Presuming that this is a somewhat recent version of the the widget, with 102100, the buffer is determined by the Geometry Engine. A few questions to work through:

  1. Is it a feature on the map being buffered?

  2. Is it possible the feature being buffered does not have a SHAPE field and thus no geometry to buffer?

  3. Does the buffer display on the map while using the Search widget BEFORE pressing the search button?

  4. Does the spatial search work without buffering?

from cmv-widgets.

cmccullough2 avatar cmccullough2 commented on August 11, 2024

Is it a feature on the map being buffered? the buffer works

Is it possible the feature being buffered does not have a SHAPE field and thus no geometry to buffer?A SHAPE field is present

Does the buffer display on the map while using the Search widget BEFORE pressing the search button? Yes

Does the spatial search work without buffering? No

The network may be causing the hiccup disallowing the completion of the results. I am befuddled.

from cmv-widgets.

cmccullough2 avatar cmccullough2 commented on August 11, 2024

Steps I am completing

  1. Apply a 300 Mile buffer
  2. Select Features by Point
  3. Click Map
  4. Graphic shape is on the map
  5. Click Search button
  6. Shape disappears
  7. Stop Drawing and Search button goes grey

from cmv-widgets.

tmcgee avatar tmcgee commented on August 11, 2024

Odd. Those steps work on the demo: https://tmcgee.github.io/cmv-widgets/demo.html?config=search

from cmv-widgets.

cmccullough2 avatar cmccullough2 commented on August 11, 2024

from cmv-widgets.

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.