When you are trying to use custom GeoJSON to draw a map using Highmap, you will get this error "Highcharts Error #22 Map does not support latitude/longitude".
Reason:
Reason:
- It is because of custom GeoJSON you had is not supported projection format of the HighMap.
- Maybe you have not included proj4.js file in your html file.
<script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js"></script>
- Maybe custom GeoJSON doesn't have projection (CRS) related information i.e. hc-transform in it.
"hc-transform":{ "default":{ "crs":"+proj=mill +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +R_A +datum=WGS84 +units=m +no_defs" } }
0 comments:
Post a Comment