{"id":"69c593b05aae965d81fcb522","title":"Location Rows","path":"how-to/committee/editing-content/location-rows","contentMarkdown":"# Location Rows\n\nA Location row adds geographic location data to a page. Each location row has a **start location** and optionally an **end location** (for linear walks where the finish is different from the start).\n\nEach location includes:\n* **Description** — a place name or landmark\n* **Postcode** — with a clickable link to Google Maps\n* **Grid Reference** — at 6, 8, or 10-digit accuracy, with a clickable link to Grid Reference Finder\n* **Latitude and Longitude**\n\nYou only need to enter one of these — the system works out the rest automatically.\n\nLocation rows serve two purposes:\n1. When set to **visible**, the location details are displayed on the page for visitors to see, with clickable links and copy buttons\n\n![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/d89fcc90-5e27-4fe4-9c03-aa9c00ed96e1.jpeg)\n\n\n2. Any page with a location row can appear as a **pin on a map** when that page is listed in an index row that includes a map view\n\n\n## When to Use Location Rows\n\n- Add a Location row to a page when you want that page to appear in an index search results with a map \n-  When a page has a location row and that page is listed in an index that includes a map view, a pin will automatically appear on the map based on the location details. For example, this is how the Kent Ramblers [Long Distance Paths](https://www.kent.ngx-ramblers.org.uk/walks/routes/long-distance-paths) index shows walking routes as pins on a single map.\n\n## What a Location Row Displays\n\nEach location shows:\n- **Description** - A human-readable place name\n- **Postcode** - Clickable link to Google Maps\n- **Grid Reference** - Clickable link to Grid Reference Finder\n- **Coordinates** - Latitude and longitude\n- All fields have a copy icon for easy clipboard copying\n\n## Adding a Location Row\n\n1. Open the page in the CMS editor\n2. Click **Add Row** (or the **+** button between existing rows)\n3. Select **Location** from the row type dropdown\n4. The row initialises with an empty start location\n\nThis is what a location row looks like in siite edit mode\n\n![](https://ngx-ramblers.org.uk/api/aws/s3/site-content/c175878a-9fae-4fca-8920-53011df93fd5.jpeg)\n\n\n\n## Configuring a Location\n\nYou can enter a location using any of these methods — the system will automatically populate the other fields:\n\n### Method 1: Place Name Search\n- Type a place name into the autocomplete search field\n- Select from the suggestions that appear\n- The system fills in postcode, grid reference, and coordinates\n\n### Method 2: Postcode Lookup\n- Enter a UK postcode (e.g., TN13 1ZZ)\n- The system validates the format and looks up the coordinates\n- Nearby postcodes are shown in a dropdown for fine-tuning\n\n### Method 3: Grid Reference\n- Enter a 10-digit grid reference (e.g., TQ8441731443)\n- The system converts it to coordinates and postcode\n- Click **View Grid Reference** to check it on Grid Reference Finder\n\n### Fine-Tuning with the Map\nAfter entering a location, an interactive map appears where you can:\n- **Drag the pin** to adjust the exact position\n- Toggle between **Google Maps** preview and **Leaflet** editing views\n- The Leaflet view supports Ordnance Survey or OpenStreetMap tiles\n\n## Adding an End Location\n\nFor linear walks where the finish point differs from the start:\n1. Tick the **Has End Location** checkbox\n2. A second location editor appears\n3. Configure the end location using any of the methods above\n4. The page will display both locations side by side\n\n## Visibility Control\n\nThe **Rendering Mode** dropdown controls whether the location is shown on the page:\n- **Visible** - Location details are displayed (default)\n- **Hidden** - Location data is stored but not shown to visitors (useful for internal reference or when you only want the pin to appear on index maps)\n\n## Tips\n\n- Location rows work well paired with **Map rows** — the map row can automatically sync markers from the location row on the same page\n- For circular walks, you only need a start location (no end location needed)\n- The grid reference, postcode, and coordinates all stay in sync — changing one updates the others\n- You can browse and manage all pages including their location data from the [Page Content Navigator](https://ngx-ramblers.org.uk/admin/content/page-content-navigator?view-mode=all)\n","contentHtml":"<h1>Location Rows</h1>\n<p>A Location row adds geographic location data to a page. Each location row has a <strong>start location</strong> and optionally an <strong>end location</strong> (for linear walks where the finish is different from the start).</p>\n<p>Each location includes:</p>\n<ul>\n<li><strong>Description</strong> — a place name or landmark</li>\n<li><strong>Postcode</strong> — with a clickable link to Google Maps</li>\n<li><strong>Grid Reference</strong> — at 6, 8, or 10-digit accuracy, with a clickable link to Grid Reference Finder</li>\n<li><strong>Latitude and Longitude</strong></li>\n</ul>\n<p>You only need to enter one of these — the system works out the rest automatically.</p>\n<p>Location rows serve two purposes:</p>\n<ol>\n<li>When set to <strong>visible</strong>, the location details are displayed on the page for visitors to see, with clickable links and copy buttons</li>\n</ol>\n<p><img src=\"https://ngx-ramblers.org.uk/api/aws/s3/site-content/d89fcc90-5e27-4fe4-9c03-aa9c00ed96e1.jpeg\" alt=\"\"></p>\n<ol start=\"2\">\n<li>Any page with a location row can appear as a <strong>pin on a map</strong> when that page is listed in an index row that includes a map view</li>\n</ol>\n<h2>When to Use Location Rows</h2>\n<ul>\n<li>Add a Location row to a page when you want that page to appear in an index search results with a map </li>\n<li>When a page has a location row and that page is listed in an index that includes a map view, a pin will automatically appear on the map based on the location details. For example, this is how the Kent Ramblers <a href=\"https://www.kent.ngx-ramblers.org.uk/walks/routes/long-distance-paths\">Long Distance Paths</a> index shows walking routes as pins on a single map.</li>\n</ul>\n<h2>What a Location Row Displays</h2>\n<p>Each location shows:</p>\n<ul>\n<li><strong>Description</strong> - A human-readable place name</li>\n<li><strong>Postcode</strong> - Clickable link to Google Maps</li>\n<li><strong>Grid Reference</strong> - Clickable link to Grid Reference Finder</li>\n<li><strong>Coordinates</strong> - Latitude and longitude</li>\n<li>All fields have a copy icon for easy clipboard copying</li>\n</ul>\n<h2>Adding a Location Row</h2>\n<ol>\n<li>Open the page in the CMS editor</li>\n<li>Click <strong>Add Row</strong> (or the <strong>+</strong> button between existing rows)</li>\n<li>Select <strong>Location</strong> from the row type dropdown</li>\n<li>The row initialises with an empty start location</li>\n</ol>\n<p>This is what a location row looks like in siite edit mode</p>\n<p><img src=\"https://ngx-ramblers.org.uk/api/aws/s3/site-content/c175878a-9fae-4fca-8920-53011df93fd5.jpeg\" alt=\"\"></p>\n<h2>Configuring a Location</h2>\n<p>You can enter a location using any of these methods — the system will automatically populate the other fields:</p>\n<h3>Method 1: Place Name Search</h3>\n<ul>\n<li>Type a place name into the autocomplete search field</li>\n<li>Select from the suggestions that appear</li>\n<li>The system fills in postcode, grid reference, and coordinates</li>\n</ul>\n<h3>Method 2: Postcode Lookup</h3>\n<ul>\n<li>Enter a UK postcode (e.g., TN13 1ZZ)</li>\n<li>The system validates the format and looks up the coordinates</li>\n<li>Nearby postcodes are shown in a dropdown for fine-tuning</li>\n</ul>\n<h3>Method 3: Grid Reference</h3>\n<ul>\n<li>Enter a 10-digit grid reference (e.g., TQ8441731443)</li>\n<li>The system converts it to coordinates and postcode</li>\n<li>Click <strong>View Grid Reference</strong> to check it on Grid Reference Finder</li>\n</ul>\n<h3>Fine-Tuning with the Map</h3>\n<p>After entering a location, an interactive map appears where you can:</p>\n<ul>\n<li><strong>Drag the pin</strong> to adjust the exact position</li>\n<li>Toggle between <strong>Google Maps</strong> preview and <strong>Leaflet</strong> editing views</li>\n<li>The Leaflet view supports Ordnance Survey or OpenStreetMap tiles</li>\n</ul>\n<h2>Adding an End Location</h2>\n<p>For linear walks where the finish point differs from the start:</p>\n<ol>\n<li>Tick the <strong>Has End Location</strong> checkbox</li>\n<li>A second location editor appears</li>\n<li>Configure the end location using any of the methods above</li>\n<li>The page will display both locations side by side</li>\n</ol>\n<h2>Visibility Control</h2>\n<p>The <strong>Rendering Mode</strong> dropdown controls whether the location is shown on the page:</p>\n<ul>\n<li><strong>Visible</strong> - Location details are displayed (default)</li>\n<li><strong>Hidden</strong> - Location data is stored but not shown to visitors (useful for internal reference or when you only want the pin to appear on index maps)</li>\n</ul>\n<h2>Tips</h2>\n<ul>\n<li>Location rows work well paired with <strong>Map rows</strong> — the map row can automatically sync markers from the location row on the same page</li>\n<li>For circular walks, you only need a start location (no end location needed)</li>\n<li>The grid reference, postcode, and coordinates all stay in sync — changing one updates the others</li>\n<li>You can browse and manage all pages including their location data from the <a href=\"https://ngx-ramblers.org.uk/admin/content/page-content-navigator?view-mode=all\">Page Content Navigator</a></li>\n</ul>\n"}