All drawingsภาพวาดทั้งหมด
Put one on a mapใส่ลงแผนที่
Each drawing is its own file, 64 × 64, standing on its bottom centre, which is the map point.ภาพวาดแต่ละภาพเป็นไฟล์ของตัวเอง ขนาด 64 × 64 ยืนบนจุดกึ่งกลางด้านล่าง ซึ่งคือจุดบนแผนที่
<img src="https://motdang.net/sites/map-doodles/svg/eiffel-tower.svg" width="48" height="48" alt="Eiffel Tower">
On a canvas, a MapLibre map, or from OpenStreetMap tags:บนแคนวาส บนแผนที่ MapLibre หรือเลือกจากแท็ก OpenStreetMap:
<script src="/sites/map-doodles/map-doodles.js"></script>
MDDOODLES.ready().then(function () {
MDDOODLES.match({amenity: 'place_of_worship', religion: 'buddhist'}); // 'buddhist-temple'
MDDOODLES.match({wikidata: 'Q243'}); // 'eiffel-tower'
MDDOODLES.draw(ctx, 'moai', x, y, 48); // stands on (x, y)
MDDOODLES.maplibre(map, ['moai']); // then 'icon-image': 'md-doodle-moai', 'icon-anchor': 'bottom'
});
The same set elsewhere:ชุดเดียวกันที่อื่น: GitHub · jsDelivr · Wikimedia Commons · Internet Archive · Hugging Face
All of them in one sprite: map-doodles.svg (symbols d-<id>). Names, places and tags: map-doodles.json.ทั้งหมดในไฟล์เดียว: map-doodles.svg (สัญลักษณ์ d-<id>) ชื่อ ที่ตั้ง และแท็ก: map-doodles.json