Questions tagged [angular2-google-maps]

37 questions
1
vote
0 answers

How to add label or text to the google map's specific location

Im working on "angular2-google-maps" and I want to add custom text to a given point in map. I was trying polyline but it seems its not allows to add labels to it. Please let me know your suggestions. Thanks very much in advance.
1
vote
0 answers

smooth movement of markers on location change angular2

i have used angular 2 google maps library in my porject to show google maps. i have multiple markers in my map whose positions are changed frequently whenever a marker changes a position it jumps from one location to another location.i want to…
kisor
  • 464
  • 5
  • 22
1
vote
0 answers

How to get polygon data from map in angular2-google-maps?

I working on this example: @Component({ selector: 'my-app', styles: [` .sebm-google-map-container { height: 300px; } `], template: `
Nips
  • 13,162
  • 23
  • 65
  • 103
1
vote
1 answer

Unable to set zoomControlOptions on Google Maps in Angular 2

First, I get the native Google maps element, because as far as I can tell, the Angular 2 API doesn't expose it. That looks like the code below and works fine: import { GoogleMapsAPIWrapper } from 'angular2-google-maps/core'; constructor(public…
VSO
  • 11,546
  • 25
  • 99
  • 187
0
votes
2 answers

Set custom properties for for filtering?

I have an array of agm-markers displayed on an agm-map like this:
flygge
  • 189
  • 2
  • 11
0
votes
5 answers

How to switch between street map to satellite map in Angular 4

I am Working in an Angular 4 application ,Here I would like to add a map view for that I have developed the map with street view by default . Now I want to add a option to the user that they can able to switch between street view to satellite view…
user9389607
0
votes
1 answer

how to add Dragable marker for Angular2-google-maps in ionic application

I have implemented Angulatr2-google-maps in my application with an autocomplete search for location but that's not good to go for me I want that the marker could be dragged or moved and placed to the exact location but I am stuck as nothing works…
0
votes
1 answer

angular2 google map infowindow opens so many times and it starts lagging

I'm using angular-google-map. In the project, I create hundreds of markers and all of them share one info window. Below is the code in the template:
Frank
  • 1,215
  • 12
  • 24
0
votes
0 answers

Marker is unknown in angular2-google-maps

I am declaring a array for markers but it is not available . error is "Cannot find name 'marker'." What might be the issue?
Deepan
  • 41
  • 1
  • 2
  • 8
0
votes
1 answer

How to set Google map to 2d with Angular2-Google-Maps

I have installed Angular Google Maps with Angular 4. The template is simple: What I get is a nice 3D-version, like this: I want it to be…
Skvupp
  • 155
  • 2
  • 3
  • 12
0
votes
1 answer

How to add a label to circles in google map angular 2 - sebm-google-map-circle component?

I was trying to add text in the middle of circles drawn using sebm-google-map-circle angular2 component. It seems its not much easier. If any one know, please let me know. Thanks very much
0
votes
1 answer

angular2-google-maps@0.17.0 requires a peer of @angular/common@^2.3.1 but none was installed

I am getting this error in my application. angular2-google-maps@0.17.0 requires a peer of @angular/common@^2.3.1 but none was installed. How can I solve it?
Charan
  • 23
  • 1
  • 7
0
votes
2 answers

Angular 2 with angular2-google-map

i would like to ask question about angular2-google-map in angular 2. I have followed the instruction in https://angular-maps.com/docs/getting-started.html. Running 'ng serve' give the following error: enter image description here I have digging…
Abdul Afiq
  • 11
  • 3
0
votes
1 answer

Ionic 2 : ng2-map info window not opening

As I am new to Ionic 2 so having an issue in ng2-maps. Code on html side:
Sachin Bahal
  • 138
  • 1
  • 3
  • 14
0
votes
1 answer

Modify sebm-google-map-marker using an angular2 directive

I'm using angular2-google-maps https://angular-maps.com/ to build a google map with markers. What I'm trying to achieve is creating a marker which is customised with an users social media profile pic. I am going to use this: JS Maps v3: custom…