guspatagonico / viosmaps

Vector Interactive OpenSource Maps (SVG based interactive maps)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ViosMaps

ViosMaps - Vector Interactive OpenSource Maps

Overview

ViosMaps is an open-source project designed to simplify the creation and rendering of vector maps divided into regions, using the SVG format. It provides an intuitive way to set metadata and manage interactions with each map region, making it easier to build interactive map-based applications.

Motivation

ViosMaps began as a small project to render and manage interactions with regions and provinces on maps of Italy and Argentina. By open-sourcing ViosMaps, the goal is to collaborate with developers worldwide, share ideas and knowledge, and further generalize the codebase through better modularization. We aim to add exciting new features and enhancements as a community and create comprehensive documentation that encourages developers to use ViosMaps as a library for their own projects.

Dependencies

ViosMaps depends upon:

Real Examples

Interactive Map of Uruguay

Interactive Map of Argentina

Interactive Map of Italy

Static Test Maps

Start your local webserver and launch test maps from:

  • http://{your_host}/viosmaps/tests/argentina.html
  • http://{your_host}/viosmaps/tests/italia.html

Browserify-based Development version:

Start your local webserver and launch test maps from:

  • http://{your_host}/viosmaps/tests/browserify-test.html

Notes and ToDo

  • 2016-04-07
    • Currently main ViosMaps code is mixed inside those examples. Next steps to take: extract and modularize main functionality transforming it into a library.
  • 2016-04-09
    • I'm using Browserify to build lib/js/static/viosmaps-bundle.js. You can build (from the lib/js folder) running:
      • browserify viosmaps.js -o static/viosmaps-bundle.js
      • Note: To install browserify:
        • npm install -g browserify
    • You can also use watchify the same way:
      • watchify viosmaps.js -o static/viosmaps-bundle.js
      • Note: To install watchify:
        • npm install -g watchify

Contributors

License

Available under an Apache 2 license which means it’s completely open-source, and completely free.

About

Vector Interactive OpenSource Maps (SVG based interactive maps)

License:Apache License 2.0


Languages

Language:JavaScript 99.1%Language:HTML 0.6%Language:CSS 0.3%