Coder Social home page Coder Social logo

wikiblock's People

Contributors

andfinally avatar jartes avatar

Stargazers

 avatar

Watchers

 avatar

wikiblock's Issues

Clean trail URL

Wikiloc URLs might have additional parameters at the end, like:

https://www.wikiloc.com/mountaineering-trails/pico-aneto-3-404-m-desde-refugio-la-renclusa-el-aneto-pirineo-aragones-7155265#lb-embed

The block will need to remove the #lb-embed anchor (and probably any tag to retrieve the trail ID correctly.

Add alignment support

What

Add to the block.json configuration file the option to support block alignment: wide, full, left, center, and right.

Why

To have more flexibility when adding the block and aligning it depending on the layout needs. This also will follow the standard Gutenberg options for alignment.

How

By adding the support flag on the block.json configuration file, and making any CSS adjustments if needed.

Add panel options when embedding a trail

Let's add more customizations on the map and bring more options to the block.

What

Wikiloc has a few options to customize how the embed map will be displayed, like the map type, the width, etc:

  • Map type (select).
  • Width (number).
  • Height (number).
  • Show title.
  • Show measurements and elevation profile-
  • Show location.
  • Show photos

Why

This will help to customize how the map will look like by using the iframe options that Wikiloc currently has.

How

We'll need to implement the different fields noted on the "What" section, and modify the URL that is used on the iframe.

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.