Giter Site home page Giter Site logo

maps's Introduction

Maps Integration for Delta Chat clients

An "Integration" is a webxdc file that speaks to the deltachat-core-library instead of other webxdc instances. From the view of the messenger implementor, the integrations behave like a normal webxdc.

To use this integration in a client, get a core with 1.137.4 or newer, build maps.xdc as described below, add it to the client using dc_set_webxdc_integration()/dc_init_webxdc_integration() and open it as a usual webxdc.

The map is shown using Leaflet and looks like the following:

Maps Screenshot

The protocol used to speak to core is described atop of maps_integration.rs.

Compared to eg. Mapbox on Android, this solution is 8mb smaller and has 2000+ lines less boilerplate code.

In general, however, the integration could use other maps as well, it is not bound to Leaflet.

Online Demo

Building

to create maps.xdc file, execute:

./create-xdc.sh

Note, that maps.xdc is meant to be used as an integration as described below and will work only limited when send to a chat.

maps's People

Contributors

r10s avatar imysl0 avatar

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.