npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

odin-map

v0.1.2

Published

<div align="center"> <br> <img src="./docs/assets/logo2.svg" height="160"> <h1>Odin</h1> </div>

Downloads

5

Readme

Overview

It's a wrapper to Open Layers 5v. :earth_asia:

Minimal structure:

const odin = new Odin();

odin.build();

Features:

  • [ ] Map
    • [x] Custom on on OdinMap to custom events
    • [ ] Generate static map (canvas image)
    • [ ] Legends
    • [x] Add Interactions
    • [x] Add Controls
    • [x] Add Layers
    • [ ] Remove only one feature
  • [x] Infobox
    • [ ] With custom offsets
    • [ ] Create a bind to features for follow when they move
  • [x] Icons (Markers)
    • [ ] WebGL
    • [x] Legends
    • [ ] Reactives
    • [x] Image icon
    • [x] Custom args to use open layer options
  • [x] Context menu (with condition)
  • [x] Heatmap
    • [ ] With context
  • [ ] Draw
    • [x] Add Lines
    • [x] Add Circle
    • [x] Add Point
    • [x] Edit
    • [ ] Remove one
    • [x] Disable interaction
  • [x] EPSG Conversor
  • [x] Build
    • [x] UMD (for browser global window)
    • [x] CJS (for browser import/export methods)

Marker

  • Icone
  • Infobox
  • Tooltip
  • Legenda
  • Menu de contexto

Proximos passos

  • Forma de remover overlay
  • Adicionar controle de vértice de polígonos e círculos
  • Abstração de layers (odin.layer.drawableCircle())
  • Possibilidade de adicionar marker pela layer
  • Contexto de marker (capítulo acima)
  • Poder ler do localstorage/session que serão utilizados dentro do odin como configuração padrão (readSession)
  • Menus de contexto serem disponibilizados pela api
  • Verificar o uso do OdinFeature ja que nem sempre o objeto é odin (override na classe pai)

Backlog

  • Poder mander informações do marker pela api
  • Cachear informações de um marker
{
    "icon":"",
    "size": "",
    "offset":""
}

References

SIG - Sistema de informação geográfica

EPSG - Sistema de Referência de Coordenadas

https://mariusschulz.com/blog/code-splitting-a-typescript-application-with-import-and-webpack