Giter Site home page Giter Site logo

Comments (2)

amercader avatar amercader commented on August 18, 2024

Hi @rclark,
Unfortunately as you mentioned the frontend has been completely revamped on 2.0, so we still haven't completely adapted the spatial widgets for it, this is something that we will do during the following months.

We did some work though on the dataset extent widget, that shows a map on the dataset page (see bottom left on eg [1]).
If you want to have a go and enable it, you'll need to:

  • Switch to the 2641-spatial-widgets-new-theme branch on ckanext-spatial
  • Add a custom template to your own extension (you'll need to create one if not already using one) and add a custom read.html that will override the default dataset details page one. Use the one from the demo extension as a guidance [2].

Please note that this is under current development so it may change at some point, but any feedback will be much appreciated.

[1] http://demo.ckan.org/dataset/afghanistan-election-data
[2] https://github.com/okfn/ckanext-demo/blob/development/ckanext/demo/templates/package/read.html

from ckanext-spatial.

rclark avatar rclark commented on August 18, 2024

Thanks for the information! I'll work through the instructions here and familiarize myself with the extension architecture. I would really like to see a map widget on the resource editing page that would allow you to generate the spatial extra by drawing a shape on the map.

from ckanext-spatial.

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.