Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49293

Coordinates on mapClick

$
0
0

I’m using AGM and I want to get the coordinates

onMapClick(event) {
        console.log(event.coords.lat);
    }

console returns

core.js:6228 ERROR TypeError: Cannot read property ‘lat’ of undefined

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49293

Trending Articles