Build your embed
Set your filters, then pan and zoom the map preview to the area you want to show. Your embed code updates automatically.
All parameters
| Parameter | What it does | Example values |
|---|---|---|
embed |
Set to 1 to hide the "Add your club" button. Recommended for all iframe use. |
1 |
type |
Pre-sets the Type filter so only clubs of that type are shown. | Men%27s, Mixed, Women%27s |
level |
Pre-sets the Standard filter. | Social, Competitive, Elite |
day |
Pre-sets the Plays On filter to a single day of the week. | Tuesday, Saturday |
q |
Pre-fills the search box with a city or club name. | Melbourne, London |
country |
Filters clubs to a single country. Does not appear in the search box, so visitors do not see it as a text search. | Australia, New+Zealand, United+Kingdom |
league |
Filters clubs to those whose league name contains this text (case-insensitive partial match). | State+League, AMMNA |
accepting |
Set to 1 to show only clubs that are currently taking new players. |
1 |
beginners |
Set to 1 to show only clubs that say beginners are welcome. |
|
dropins |
Set to 1 to show only clubs that welcome drop-ins for a single night. |
|
lat and lng |
Sets the initial centre of the map. Both are required together. Decimal coordinates. | lat=-33.87&lng=151.21 (Sydney) |
zoom |
Sets the initial zoom level. Higher numbers zoom in further. Defaults to 4 when lat and lng are provided. |
4 (country), 8 (region), 12 (city) |
Note on apostrophes: Men's must be URL-encoded as Men%27s and Women's as Women%27s in the URL. Most website builders handle this automatically, but if you are editing HTML by hand, use the encoded form.
Smaller embeds
Not everyone wants a whole map. Each of these is a small page you drop in an iframe. They render on our side from the live list, so they never go stale, and none of them carries contact details.
- A club badge:
https://netballclubs.com/embed/badge/<club-slug>. Club name, place and type, linking to the club's page. Every club's "Embed badge" button on the map copies this for you. - Clubs near us:
https://netballclubs.com/embed/nearby/<club-slug>. The club, then the nearest other clubs with distances, each linking to its page. For a club that is full, or that wants to send Tuesday players somewhere for a Thursday game. The Manage your club page has the code ready to copy. - A city badge:
https://netballclubs.com/embed/badge/city/<city-key>. "Netball clubs in Ballarat, 6 clubs on the map", linking to the city page. The city key is the end of the city page's address, for exampleballarat-australia. - A league badge:
https://netballclubs.com/embed/badge/league/<league-slug>. The club count for an association, linking to its page. Each league page shows the exact code.
Councils, local papers and community groups: every city page ends with a paragraph you can paste as it is, the map already filtered to that city, and the city badge. Journalists are welcome to quote any of it and to use the open data below.
Councils, regions and chat apps
Two more things that need no code at all:
- An area page:
https://netballclubs.com/area/city-of-ballaratlists every club whose pin sits inside that council's boundary (as OpenStreetMap draws it), with a paragraph to paste and the map to embed. Any council, region or suburb name works; try Greater Manchester. - Link unfurls: paste a club, city or league link into Slack, Discord, WordPress or anything that speaks oEmbed and it expands into the badge. The endpoint is
https://netballclubs.com/api/oembed?url=....
The map itself can be embedded in another language with lang= (for example lang=fr); the visitor's browser language is used otherwise.
Questions or help
If you need a configuration that is not covered here, or something does not look right in your embed, email Michael Josem at michael@michaeljosem.com. Feature requests and suggestions are also welcome.