alyssaxuu / mapus Goto Github PK
View Code? Open in Web Editor NEWA map tool with real-time collaboration 🗺️
License: MIT License
A map tool with real-time collaboration 🗺️
License: MIT License
What is the structure of the realtime data table?
Hi, for few days recently I have been testing your app and found out that exported geojson files do not have attributes like color, name and description, only geometry.
P.S. Also if possible you could have a screen-flexible version for the app, since leaflet geoman can be usable on smartphone and tablet.
Hi!
Thanks for a great project!
It looks like it depends on firebase, but it doesn't need to.
There is a replacement for firebase called supabase... Not sure how hard could be to migrate, but it is definitely worth trying as it would mean no external dependencies.
https://supabase.io/
Great project!How can I use my own server database instead of Firebase?Look forward to supporting Supabase.
Heya, really cool project you made!
I was reading the bit about the data persistence and how it's hard to sync between clients without incurring costs right now, and https://github.com/automerge/automerge came to mind. It uses CRDTs to sync between clients and get to a consistent state, working as offline-first.
I think using that approach for mapus could work if sync was between clients with something like web rtc, and clients kept local state. Then whenever two users that wanted to do stuff together connected to each other, they'd propagate the changes they have to the map. A new user coming to see that map without no other client online would be out of luck though.
Maybe that's enough for ephemeral collaborative sessions though?
AutoMerge has a webrtc lib in https://github.com/automerge/mpl, but for the life of me I can't understand how that example connects.
An alternative for AutoMerge is https://github.com/yjs/yjs, that seems to have a first party webrtc connector in https://github.com/yjs/y-webrtc. I've heard good things about yjs so maybe it's a better starting point right now than AutoMerge.
#color-list {
position: absolute;
/*margin-top: -85px;*/
margin-top: -300px;
height: 40px;
background-color: #FFF;
border-radius: 5px;
border: 1px solid #EAEAEA;
/*padding-left: 10px;*/
padding-left: 5px;
transform: translateX(-50%);
/*margin-left: 15.5px;*/
margin-left: 10px;
width: fit-content;
visibility: hidden;
}
.color-enabled {
visibility: visible!important;
}
.color {
width: 20px;
height: 20px;
background-color: #624EEF;
display: inline-block;
/*margin-right: 10px;*/
margin-right: 5px;
border-radius: 50%;
margin-top: 10px;
}
function focusMapName() {
$("#map-name").select();
$("#map-name").addClass("map-editing");
$("#map-name").prop("disabled", false);
}
When I refresh the page, I log out, which feels that the experience is not very good
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.