Embed nearby gyms on your site
Two ways to add a small list of hybrid fitness gyms to any page. Both are free; the list links back to Race Gyms.
Option 1: script tag (uses the visitor's location)
Asks the visitor for permission to use their location and renders the closest gyms. You can instead fix the location with data-lat and data-lng.
<div data-hybrid-race-nearby data-sport="hybrid-fitness" data-limit="5"></div> <script async src="https://racegyms.com/embed.js"></script>
Option 2: iframe (fixed location)
Replace LAT and LNG with the coordinates you want to center on.
<iframe src="https://racegyms.com/embed/nearby?sport=hybrid-fitness&lat=LAT&lng=LNG&limit=5" width="100%" height="320" style="border:0" loading="lazy" title="Hybrid Fitness gyms nearby"></iframe>
Attributes
| data-sport | Sport slug. Default: hybrid-fitness |
| data-limit | Number of results, 1-20. Default: 5 |
| data-lat / data-lng | Fixed coordinates. If omitted, the browser's geolocation is used. |
The JSON behind the widget is also available at https://racegyms.com/api/near?lat=..&lng=..&sport=hybrid-fitness for non-commercial use with attribution.