About MapMartini
Have you ever wondered how big (or small) your neighborhood is, compared to
the district you grew up in? Or you want to marvel at how thousands of people
lived in a piece of Hong Kong that can fit into your nearby shopping mall?
These questions, and more, can be answered with MapMartini!
But I'm not the first one who came up with this idea. I was a huge fan of
MAPfrappe by Kelvin Thompson, until its
indefinite closure in Summer 2019 due to increased
costs to use the Google API. Unsure if MAPfrappe would ever reopen, I decided
to make a similar site based on OpenStreetMaps. I am pleased to report that I was
able to include the rotation of polygons which I understand was a much-requested
feature on MAPfrappe.
I appreciate any feedback and bug reports!
Updates
- Jan. 3, 2024 - added lat/lon mode, option to select different tilesets, added scale, updated to latest versions
of Leaflet and Leaflet.GeometryUtil
Known issues
- Something weird happens when you draw something across the International Date Line.
- On Edge and Chrome, if the search box finds multiple matches, you have to
use the keyboard (arrow keys) to select which location you want. It seems to work
fine on Firefox.
- Switching between lat/lon mode and polygons may introduce some bugs with zooming or
moving the map. In that case, just refresh the site.
Acknowledgements
I would like to acknowledge the following projects that made MapMartini
possible:
- Kelvin Thompson's MAPfrappe, of course, which heavily influenced the
design of this site
- Leaflet, a JavaScript library for
OpenStreetMaps
- Makina Corpus's Leaflet.GeometryUtil plug-in,
which was incredibly helpful and exactly what I needed to compute the target shapes accurately without
me worrying about map projections and such. License
- Per Liedman's
Leaflet Control Geocoder, which let me easily add a search box to both of the
maps. License The search box uses
Nominatim which does not allow heavy usage, so please no bots.
- Mapbox for the map tiles that the site
loads. They give me 200k free tile requests per month before I have to start
paying, so please be reasonable in your use of this site.
Any code from the above sources that are used in MapMartini are copyrighted by
the respective individuals or entities.
MapMartini is Copyright © 2019-2024 SK Chow
E-mail skchow03 at gmail dot com
Back to MapMartini