gis-maps

CoFOR GIS Maps

Public-facing interactive map viewers for the City of Fair Oaks Ranch. Every app in this repository runs without authentication — no AGOL login, no OAuth, no API key required.

Live URL: cofor-gis.github.io/gis-maps
Organization: fairoaksranch.maps.arcgis.com


Repository vs gis-apps

Repository Purpose Auth Required
gis-maps (this repo) Read-only public map viewers None
gis-apps Editing tools and admin utilities AGOL OAuth

If the app writes data or requires a login, it belongs in gis-apps. If it only queries public feature services for display, it belongs here.


Maps

Map Path Description
Annexation History /AnnexationHistory Era-based annexation viewer with time slider, ordinance document links, and address search

Adding a New Map

  1. Create a folder at the repository root using PascalCase (e.g. DrainageInventory/)
  2. Place a single index.html file inside — no build step, no bundler
  3. Update the table above
  4. Push to main — GitHub Pages deploys automatically

Technical Standards

Data Requirements

All feature services consumed by maps in this repo must be:


CivicPlus Embedding

Maps are designed to be embedded on fairoaksranchtx.org via iframe. CivicPlus strips inline JavaScript from HTML widgets, so all maps must be hosted externally and loaded via iframe.

<iframe
  src="https://cofor-gis.github.io/gis-maps/{MapName}/"
  title="City of Fair Oaks Ranch — {Map Title}"
  width="100%"
  height="800"
  style="border:none; border-radius:8px;"
  loading="lazy"
  allow="fullscreen">
</iframe>

Adjust height to fit the page layout. If the CivicPlus content column is narrow (< 860px), the map will switch to its mobile layout automatically.


Local Preview

No build tools are needed. Open any index.html directly in a browser, or use a local server:

# Python
python -m http.server 8000

# Node
npx serve .

Then navigate to http://localhost:8000/{MapName}/.


Contact

GIS Administrator — City of Fair Oaks Ranch Public Works