This is an open source project based on Laravel 5.7. Feel free to fork and use! This repo is the code behind Cartes.io.
The API docs are available in our wiki.
Want to just test out the site? There's a demo map, or you can create your own map.
You are free to use Cartes.io and/or it's API free of charge. No authentication is required.
Please consider donating/sponsoring the project!
You can create maps for anything! You can explore the existing public maps on the site, or get inspired with a few ideas here:
- Do you have a couple of favorite restaurants? Create a map marking the spot so that you can always check back in and share your discoveries with friends
- Friends/family from out of town coming to visit you? Create a map with all the helpful local destinations, like the best bakery or the nearest family doctor
- Going hiking? Create a map showing where you plan to be, and regularly create new markers as you pass important checkpoints. Share the map with friends/family in case you get lost
- Does your town have a few "little free libraries"? Create a map of where they are and share it with your community on Facebook or wherever
- Going out to protest? Create a public community-driven map so that everyone can mark dangerous markers and be aware of what's going on when and where
Some awesome maps have already been created by the community and shared publicly.
Note, to see markers on some of these maps, you need to go into "Map display options", and then check the "Show all markers" checkbox.
- Coronavirus Drive-Thru testing points: This map shows identified Coronavirus drive-thru testing points around the world.
- Twin Cities riots: This map evolved from the Minnesota protests and was used by locals to mark dangerous markers as they happend. 135 events were reported.
- Places to get help in Beirut: Following the 2020 explosion in Beirut, this map was created to raise awareness within the local community on where they can get help.
- Little free libraries on the French Riviera: This map shows the locations of public little free libraries - a box where you can leave and borrow books out in the open.
- The hardest airports to fly in to: Here's a non exhaustive map of some of the hardest places to land a plane around the world!
After running composer and npm, run the following commands to create the permissions and roles:
- php artisan migrate
- php artisan permission:create-role admin web "manage markers|edit markers|create markers|delete markers|manage categories|edit categories|create categories|delete categories|manage user roles|manage roles|apply to report|manage maps|create markers in bulk|mark spam"
- php artisan permission:create-role editor web "manage markers|manage categories|manage maps"
- php artisan permission:create-role "power reporter" web "create markers in bulk"
- php artisan permission:create-role reporter web "edit markers|create markers|delete markers|mark spam"
Important note: previously the markers table was called incidents - there is a column in the maps table that requires manual updating in MySQL - see file 2020_11_26_152012_rename_maps_can_create_incidents_column_table