Skip to content

Commit

Permalink
chore: code tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed Feb 27, 2025
1 parent 410b055 commit d1e3008
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class SiteSelectPage {
private async loadCountryAdminBoundaries(map: Map, country_code: string) {
const metadata: IGelocationData = GEO_LOCATION_DATA[country_code];
if (!metadata) return;
const topojson = await metadata.admin_4.data();
const topojson = await metadata.admin_4.topoJson();
const feature = topoJsonToGeoJson(topojson);
geoJSON(feature as any)
.setStyle({ fill: false, color: 'brown', opacity: 0.5 })
Expand Down

0 comments on commit d1e3008

Please sign in to comment.