Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 596 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 596 Bytes

amap-geohash-layer

geohash mesh layer for AMap. 高德地图geohash网格图层

Supported precision of the geohash for now is 7

USAGE

  /**
   *Creates an instance of GeohashLayer.
   * @param {*} {
   *     map,
   *     padding,
   *     zoomLimit
   *   }
   * @memberof GeoHashBox
   */
  const geohashLayer = new GeohashLayer({ map, zoomLimit, padding })
  geohashLayer.render()
  geohashLayer.destroy()

FEATURE

  • Support multi geohash precision