How to use the gcoord.AMap function in gcoord

To help you get started, we’ve selected a few gcoord examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lishewen / ngx-spa-wechat4work / src / app / bus-map / bus-map.component.ts View on Github external
window.navigator.geolocation.getCurrentPosition(point => {
        this.centerPoint = gcoord.transform([point.coords.longitude, point.coords.latitude], gcoord.WGS84, gcoord.AMap);
      }, error => {
        this.msg.add(error.message);

gcoord

geographic coordinate library

MIT
Latest version published 2 months ago

Package Health Score

68 / 100
Full package analysis