spaasis / makemaps Goto Github PK
View Code? Open in Web Editor NEWA quick and easy map creation tool built on Leaflet
Home Page: https://simopaasisalo.github.io/MakeMaps/
License: GNU General Public License v3.0
A quick and easy map creation tool built on Leaflet
Home Page: https://simopaasisalo.github.io/MakeMaps/
License: GNU General Public License v3.0
In order to keep the file size to a minimum, the editor (menu+welcome screen) should be separated from the viewer (map+filters+legend)
A feature request:
When a user clicks on the map, deliver the coordinates and possible feature information (at least id) to the hosting application.
This is useful for for example highlighting and geocoding. Can later be expanded to multiple feature selection.
This is a tricky one.
Obvious possibility is to implement clustering (working on it), but there are cases where the user may wish to disable clustering to see every marker at once.
The other possibility would be to turn every marker into a Path. For example with L.Circlemarker the performance ( zooming, panning...) is much better than the current implementation of L.DivIcon. However, the time it takes to refresh visualization options for a Path marker seems to be at least double the time it takes to update a DivIcon. On a dataset of 10k markers, updating the fillcolor takes ~2s with the DivIcon(setIcon), but with the CircleMarker (setStyle) it takes over 30 seconds, with the script freezing multiple times during the update.
For example:
Map has a layer with predefined color steps for values ["a","b","c"]
Layer internal data changes to ["d","e","f"]
Color options need to be manually refreshed, or they remain as ["a","b","c"].
Will look into a solution once there are some proper use cases in integrated systems.
Now that direct embed download is possible, export menu needs to be reworked a bit. Image (show legend/filters, possibly dimensions) and embed (at least dimensions, some styling?) specific options need to be separated properly, and not shown at the same time
Tested on Firefox 48 on Linux mint. Loading icon animation is stuttering. Expect this is the case for other and older browsers.
Works well on Vivaldi and Chromium on LM.
Need to see if heavy operations can be split into smaller sub tasks. Layer rendering on the map will be an issue with this approach, because if elements are added to the map in batches, the overall rendering time explodes.
Currently the mobile UI is pretty rubbish, since the editor has been designed as a desktop app from the start.
Is there any need to improve mobile usability for the editor side? As I see it, the only mobile use case is to view already edited embedded maps.
Language defaults to Finnish if the browser sends something other than en/fi. Default should be English
When integration has been deemed to work sufficiently, publish repo to npm.
This would make it much easier to store, for example, custom labels added manually to layers and would probably be more effective.
Simple color changes could easily be done by setStyle, but how about when changing for example the symbol type? Could probably get around that by setIcon.
Currently heatmap layers cannot be reordered with layers of other map types as expected.
Create own pane for each heatmap layer?
On clustered maps, the info that is shown on hover is often placed on top of the marker and the clustered area. Couple of options
Need to make sure that the tile loading from external services does not exceed allowed limits or drain their servers. Tile caching could be used to reduce this.
The idea
The KML format is quite extensive and MakeMaps should allow valid GroundOverlay (i.e. raster images) and not just vectors
Example KML files:
http://mapwarper.net/maps/16848.kml
http://mapwarper.net/maps/16848.kml?DBOX=-110.75095129254342,31.718707654757825,-110.61607597411702,31.865469807778688,2
Currently most errors are handled silently, with the application just freezing and the error message being handled only in the console. Needs to have proper alerts and non-freezing handling
When embedding direct JSON files (for example https://simopaasisalo.github.io/MakeMaps_embed/tests/pori.html), an XSS protection is triggered in NoScript (https://noscript.net/).
I tried to use encodeURIComponent when generating the embed script, but this fails when the JSON contains '', for example in Legend URL.
Need to see how to deal with the encodeURIComponent route, as it would be the best way to avoid all kinds of mischief
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.