8.1.0
This update contains long-awaited feature: custom API data sources support! Now you can fetch data from any custom API, format it using the new middleware feature, and load it to the map!
Also, we added a new type of JavaScript functions that you can edit in the "JavaScript" tab: Middlewares. Those are functions that accept some data and context, format the data, and pass it further to the next recepient. There are 4 types of middleware in mapsvg:
- Map init
- Controller render
- API Request
- API Response
In our blog, we've released a tutorial on using a custom API data source and middleware.
🚀 Features / Improvements​
- Data sources editor (Map / Toolbar menu / Database / Data sources / Add +);
- New data source: API;
- Middlewares