Embed a map of trails in a region or riding area on your blog or website.
Step 1: Choose a Region
Step 2: Configuration
- leave blank for auto-zoom
- lat: lon: leave blank for auto-centering on region.
Step 3: Get the code
Also check out the other region widgets, include a Region Info widget along with the region map!
You can optionally provide your own custom CSS file to custom style the widget to your desire.
You can set the widget width to 100% to have the widget height responsively adjust (must use the JS code, not iframe).
The direct URL to the widget source is: https://www.trailforks.com/widgets/region_map/
the following are the URL GET paramaters you can pass: rid, width, height, activitytype, maptype, trailstyle, routeids, controls, noheader. Use the data-* in the "get the code" box above for reference.
- Use the param routeids to pass a comma seperate list of route id numbers to display on the map.