Skip to main content
0 votes
0 answers
39 views

Angular Google map doesn't show markers on Android

I use @angular/google-maps for my mobile application. It may sound wild why I don't use capacitor/google-map, first I use this, but I needed to make a custom cluster icon, which is not provided by ...
Paul Polishchuk's user avatar
2 votes
1 answer
240 views

Loading GoogleMaps API in Angular 20 Karma unit tests

Having updated an Angular v19 app to Angular v20, the Google Maps API is not being loaded in the Karma unit tests. All the unit tests on components which serve Google Maps fail with the following ...
Winthorpe's user avatar
  • 1,272
1 vote
1 answer
26 views

Angular GoogleMap not setting bounds properly when coming out of hidden state

I have a component which visualize some data in an mat accordion, next to it is a google map which shows the location of each data point. On top of the component I have a dropdown, depending on the ...
Christian's user avatar
  • 922
0 votes
0 answers
69 views

Angular google map, timing issue when reloading component? How to refactor for reusability?

I work with angular 19 and "@angular/google-maps": "^19.1.2". I currently have a map component used in a specific usecase which uses a map with advanced markers, the clusterer and ...
Christian's user avatar
  • 922
0 votes
0 answers
92 views

Cannot click and draw/drag polygon in @angular-google-maps (not @agm/core)

I have this in my angular 18 project. I use "@angular/google-maps": "^18.2.3" for this. In this map component when I do right click I pull down a custom context menu. There I have ...
Viira's user avatar
  • 4,016
0 votes
1 answer
338 views

How to get reference to a MapAdvancedMarker in my component

I am using the @angular/google-maps package with several Advanced Markers (since MapMarkers are deprecated): <google-map height="400px" width="750px" [center]="center&...
DonJuwe's user avatar
  • 4,563
1 vote
0 answers
150 views

Unable to use AgmCoreModule with angular 18 standalone component

I am using angular 18 with standalone components. I have been trying to do google maps and address autocomplete integration with my component. I have installed the AgmCoreModule and imported in my ...
user1809949's user avatar
-1 votes
1 answer
390 views

I get extremely slow performance in Angular Google Maps when I have to load hundreds of markers

I'm rendering around 400 map advanced markers, however, these make my app extremely slow and I can't see anything that could cause this problem. This is the code I have: <div class="map-...
Alex's user avatar
  • 77
-1 votes
1 answer
254 views

Angular google maps don't load the tiles when i build my app, but markers work

In dev mode, my google map component (using angular google maps library, v17) works perfectly fine, i had to create a mapId from google cloud platform because otherwise, it says i can't use markers. ...
Alex's user avatar
  • 77
-2 votes
1 answer
129 views

Why won't Google maps allow dynamic lat and lon in angular?

I am trying to load some lat and longitudes for a map in angular, for some reason google maps won't allow. I get the Data back from Firebase when I click a menu button every choice brings back a ...
almostasnecessary's user avatar
6 votes
1 answer
4k views

How to Customize Advanced Marker Pin Elements in @angular/google-maps

I'm working with Angular 17 and @angular/[email protected] and would like to customize the appearance of map-advanced-marker pins. According to the Google Advanced Markers documentation, ...
Tyutlaeva Ekaterina's user avatar
1 vote
1 answer
1k views

How to get angular/google-map reference in component the right way

I use @angular/google-maps": "^17.3.5" and angular "^17.3.5" I try to get a reference to my google-map <google-map #map mapId="map" height="100%" ...
Christian's user avatar
  • 922
1 vote
0 answers
423 views

Cannot find type definition file for 'googlemaps'

I am using Angular 16.2.12 for my project. I've installed @angular/google-maps 16.2.12. Because @types/googlemaps is deprecated so i used @types/google.maps 3.53.5 then i got following errors: Error: ...
BHH's user avatar
  • 11
0 votes
1 answer
472 views

How to dynamically set angular-google-maps api key using Angular Service?

I'm using @agm/[email protected] and Angular 14.2.10. The api key is provided by the server, so I created an EnvService which has the following method /** * get google map api key * @returns ...
lance2k's user avatar
  • 399
0 votes
1 answer
178 views

how to retrieve coordinates of a Place by query string | google-maps angular

In my Angular 15 application I have imported @angular/google-maps version 15.2.9. I have a custom typeahead and I managed to use Places API to retrieve suggestions with the following code: map.service ...
noobie's user avatar
  • 27

15 30 50 per page
1
2 3 4 5
37