'county boundaries for US map with large data
I am trying to load all the county boundaries in the initial load. So I researched and found that loadGeoJson will support that. when I test with state boundaries it’s working fine. But when I test with county boundaries only few boundaries are loading. Can you tell me how to fix it. Providing my code snippet and sandbox below. I have updated the county boundaries in the gist https://gist.githubusercontent.com/js08/c6f73019ad29ad1c0324658c2ea36bb3/raw/a49f5989f5f6fdcde9dd686e7a72f0b9921780cb/USCounties.json
https://codesandbox.io/s/sharp-meninsky-1y5jk7?file=/index.ts
map.data.loadGeoJson(
// "https://storage.googleapis.com/mapsdevsite/json/states.js",
"https://gist.githubusercontent.com/js08/c6f73019ad29ad1c0324658c2ea36bb3/raw/a49f5989f5f6fdcde9dd686e7a72f0b9921780cb/USCounties.json",
{ idPropertyName: "STATE" }
);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
