I am writing an app with NativeScript v6 and Angular 8.
tns --version
6.1.2
I am using this plugin to try to display Google Maps.
The map appears and no errors are thrown but the mapp is too small and I can't see the markers.
tns run android
Here is my code snippet:
component:
`
import { Component, OnInit } from '@angular/core';
//import { registerElement } from 'nativescript-angular/element-registry';
import { MapView, Marker, Position } from "nativescript-google-maps-sdk";
import { ElementRef, ViewChild } from "@angular/core";
import { registerElement } from "nativescript-angular/element-registry";
// Important - must register MapView plugin in order to use in Angular templates
registerElement('MapView', () => MapView);
I am writing an app with NativeScript v6 and Angular 8.
tns --version 6.1.2
I am using this plugin to try to display Google Maps.
The map appears and no errors are thrown but the mapp is too small and I can't see the markers.
tns run android
Here is my code snippet:
component:
`
@Component({ selector: "ns-clocking", templateUrl: "./clocking.component.html", styleUrls: ["./clocking.component.css"], moduleId: module.id }) export class ClockingComponent implements OnInit {
} `
template
`
`