Choose a Kerala grama panchayat, municipality or corporation — the entry pins at its centre. You can fine-tune afterwards with “Pick on map”.
Feature a theme for everyone who opens the map — e.g. Onam songs, a harvest season, a festival. It shows as a banner they can tap to filter the map. Set it here; clear it when the season passes.
What should it highlight? Fill in any one (or more):
Adding entries needs a Firebase project. Everything else on this map works without it.
firebaseConfig values.FIREBASE_CONFIG near the top of the script, and paste them in.Firestore rules — restricts writes to @arpo.in, lets anyone read:
rules_version = '2';
service cloud.firestore {
match /databases/{db}/documents {
match /map_entries/{doc} {
allow read: if true;
allow create, update, delete:
if request.auth != null
&& request.auth.token.email.matches('.*@arpo[.]in');
}
match /config/{doc} { // Season / Theme spotlight — public read, @arpo.in write
allow read: if true;
allow write:
if request.auth != null
&& request.auth.token.email.matches('.*@arpo[.]in');
}
match /entry_overrides/{doc} { // edits/hides of built-in entries — public read, @arpo.in write
allow read: if true;
allow write:
if request.auth != null
&& request.auth.token.email.matches('.*@arpo[.]in');
}
}
}