Skip to content

Conversation

JeremyLoh
Copy link
Owner

@JeremyLoh JeremyLoh commented Nov 25, 2024

Currently, only considering the countrycode (ISO 3166-1 Alpha-2 code). Not taking into consideration the state

  • Show approximate location for country if the geo_lat and geo_long of the station information is not available (null)
  • Update the station information during the call to get the random station. Use an existing Map consisting of countrycode => { longitude: number, latitude: number}

Countries with their (ISO 3166-1) Alpha-2 code, Alpha-3 code, UN M49, average latitude and longitude coordinates - https://gist.github.com/tadast/8827699

https://leafletjs.com/reference.html#map-event

@JeremyLoh JeremyLoh self-assigned this Nov 25, 2024
@JeremyLoh JeremyLoh added the enhancement New feature or request label Nov 25, 2024
@JeremyLoh JeremyLoh linked an issue Nov 25, 2024 that may be closed by this pull request
2 tasks
@JeremyLoh JeremyLoh merged commit fd1b74b into main Nov 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display radio station popup on map using given coordinates

1 participant