doxa-maps/plugin-designs/template-bundle/data/places.geojson
Doxa Maps 22b92ae043 template-bundle: the starter's first screen is now a real map
A new writer's first copy used to draw a coloured box. template-map-a.vue now
draws the points in data/places.geojson on a basemap with one translated title,
through the library's own pieces (useMapInstance, resolveMapProvider, labelFont,
emissivePaint). It follows the page's engine, locale (right-to-left included) and
token, and with no token it runs on keyless MapLibre, so it works with no account.

template-map-b.vue stays as the second-screen example, so the README, the tutorial
and the plugin-designer skill (rename a, delete b) stay true. The README gains the
map's pieces table and the dx-maps paths.

Library change: library/i18n/locales/<11>/template.json (key template.title) is
eagerly globbed into every bundle, so consumers need rebuilding (rule 5B).
2026-09-26 04:38:12 +00:00

11 lines
837 B
JSON
Vendored

{
"type": "FeatureCollection",
"features": [
{ "type": "Feature", "properties": { "name": "Nairobi" }, "geometry": { "type": "Point", "coordinates": [36.82, -1.29] } },
{ "type": "Feature", "properties": { "name": "Cairo" }, "geometry": { "type": "Point", "coordinates": [31.24, 30.04] } },
{ "type": "Feature", "properties": { "name": "Delhi" }, "geometry": { "type": "Point", "coordinates": [77.21, 28.61] } },
{ "type": "Feature", "properties": { "name": "Jakarta" }, "geometry": { "type": "Point", "coordinates": [106.85, -6.21] } },
{ "type": "Feature", "properties": { "name": "Lima" }, "geometry": { "type": "Point", "coordinates": [-77.04, -12.05] } },
{ "type": "Feature", "properties": { "name": "Istanbul" }, "geometry": { "type": "Point", "coordinates": [28.98, 41.01] } }
]
}