urbanriskmap / cognicity-reports-telegram-server Goto Github PK
View Code? Open in Web Editor NEWTelegram support for CogniCity GRASP
License: GNU General Public License v3.0
Telegram support for CogniCity GRASP
License: GNU General Public License v3.0
Hi @talltom @matthewberryman ! We are in the office and tried to report through telegram by sending messages to @BencanaBot, so cool! There were some issues about the location card:
I got the link from the Bot and once I opened the card, it shows "Pick Location" but the maps could not loaded inside the Telegram browser, but it works with Safari, and directly shows my current location and the pin can be moved. FYI I am using iPhone 5.
@fadmastuti used Android phone, did not experience the same issue, she could open it inside directly. However she did not turn on their location at all but it detects her location as here, which is about 1 km away from our office:
cc: @anexact
Thank you!
By allowing submission of cards from outside our implementing areas, the bot doesn't know which map to direct the user too after submission of card. This results in a broken URL with the work "undefined" instead of city.
This is part of a wider petabencana.id issue of restricting card submission by location (see urbanriskmap/riskmap#122)
Bot currently replies with links to dev.petabencana.id.
need to add logging
See https://github.com/urbanriskmap/cognicity-reports-telegram-lambda
Not all of phone user aware of where are they at on the map. Therefore, the map card needs to be able to read their latest phone location and drive them automatically into nearest location.
As people usually forgot to turn on the phone geolocation, we need to remind them before driving them into nearer location.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.