Questions tagged [agm]

AGM is a component library for including google maps in your Angular application. All usage problems with this library can and should be tagged with this tag. If it's an obvious bug, or a feature request, it belongs in our github issues.

AGM provides several Components and Directives. Here are some of them:

  • <agm-map> represents the actual map
  • <agm-marker> represents a marker on the map
  • <agm-polyline> represents a polyline

Full documentation is available on our website, angular-maps.com. See also github project page

64 questions
-2
votes
1 answer

400 error trying to loadGeoJson in Angular Google Maps project

I am getting a 400 error when trying to loadGeoJson into my map. The file is located in my src/assets folder. If I put a different file in that folder, I can access it with a http request when I start the ng server, so that means I should have…
-2
votes
1 answer

Modal Error property n does not exist on type component

I'm quite new to angular. I'm trying to show my modal when I click a marker. It compiles succesfully and then outputs error. Sometimes doesnt compile succesfully. How can I fix this error? Is it because I set up jquery wrong? All of this code is in…
Tomajuli
  • 27
  • 1
  • 1
  • 5
-2
votes
1 answer

Adding mapTypeOptions inside map Angular agm

I am new to angular. I want to add google maps inside my angular application. I am using agm module. But I am not able to add mapTypeControlOptions field inside it. When I try to add it inside HTML, the page stops loading but no errors are…
Abhirup Pal
  • 152
  • 2
  • 11
-3
votes
1 answer

Angular google maps @agm/core

I'm using @agm/core for my project and I want the data layer to style dynamically. When I click on the single layer it has to change the color. This is done using data layer click functionality When I select a radio button or a check box then the…
1 2 3 4
5