Questions tagged [angular2-google-maps]

37 questions
0
votes
1 answer

Get Google Map Marker Position on Screen

Is there a way to get the bounding rectangle (screen position) of Google Map API markers? I am using an Angular 2 wrapper, so I don't construct the markers like you would normally with the API (mostly irrelevant here though). Or are they on an…
VSO
  • 11,546
  • 25
  • 99
  • 187
0
votes
1 answer

Dynamically show/hide markers on angular2 google map

Is there a way to show/ hide infoWindow for a marker on click of something like button etc. I have a scenario where I have loaded markers and infoWindow content from my JSON on the map, and have associated images on the page. I need to show the…
0
votes
2 answers

Angular 2 google maps , change polygon color on polygon click

I am using angular 2 google maps https://angular-maps.com/docs/api/latest/ts/core/index/SebmGoogleMap-directive.html
0
votes
1 answer

Get polygon object on polygon click angular 2 google maps

I am using https://angular-maps.com/docs/api/latest/ts/core/index/SebmGoogleMapPolygon-directive.html , for google map ,
0
votes
1 answer

Angular2 : How to get google place's photos from place id?

I want to retrive google place photos from place id in my angular2 application. I'm getting placeId from Autocomplete method. I'm using angular2-google-map library. import { Component, NgZone, Inject, OnInit, ViewChild, EventEmitter, ElementRef }…
Hitesh Balar
  • 181
  • 3
  • 13
0
votes
0 answers

Use google maps idle event with the sebastianm angular 2 google maps

After seeing that i can load the google maps API in my Compnent Class for the sebastianm angular 2 google maps like: this.mapsAPILoader.load().then(() => { let autocomplete = new…
Thabo
  • 1,303
  • 2
  • 19
  • 40
-1
votes
1 answer

How to get the country from a coordinate (longitude, altitude) with angular2-google-maps?

I want to know if possible get the country code or the country from a location (logitude and latitude), using the angular2-google-maps library. private setCurrentPosition() { if ("geolocation" in navigator) { …
1 2
3