Questions tagged [ng-map]

ng-map is a Google map AngularJS Directive. Its main features are everything in tag and attributes and it exposes all original Google Maps V3 api to the user.

ng-map is a Google map AngularJS Directive. Its main features are:

  • Everything in tag and attributes - Thus, basic users don't even have to know what Javascript is.

  • Expose all original Google Maps V3 api to the user - No hiding, no wraping, or whatsoever. By doing so, programmers don't need to learn how to use this module. You only need to know Google Maps V3 API.

Demos can be found here.

Documentation at: https://rawgit.com/allenhwkim/angularjs-google-maps/master/build/docs/index.html

Github link: https://github.com/allenhwkim/angularjs-google-maps

200 questions
12
votes
3 answers

ng-map respect ng-material layout

I'm trying to create a layout using angular material desgin with two-column:
123
456
its ok. but if i place an ng-map element:
dovid
  • 6,354
  • 3
  • 33
  • 73
8
votes
2 answers

Using ng-repeat with markers in ngMap

I want to use ngMap to add Google Maps to my app. The demos are "static" in the sense that they have only hard coded HTML. I want my code to be "dynamic" in the sense that it will periodically ask a server to look in its database and return me a…
7
votes
1 answer

ng-map default zoom is too zoomed in when used with zoom-to-include-markers="true"

I'm trying to use the maps and I'm facing this case when I only have one marker and the zoom-to-include-markers="true", the result is that the map is too zoomed in no matter how I set the zoom attribute the result looks like this : while what I…
sisimh
  • 1,287
  • 3
  • 20
  • 37
7
votes
1 answer

How to remove default A B markers on ngMap

I am using ng-map in my angular application. in my map i am using directions but i don't need A and B points. please help me hide these markers. i got one solution but it's not helping in ng-map. thts,s how I apllied it.
6
votes
2 answers

ng-map: How can I get the Marker object when I click it?

I am using the pretty cool ng-map library for angular, and I want to know how to access the underlying Marker Object referenced by ng-map marker directive So, I have this markup:
6
votes
1 answer

AngularJS: Force ng-repeat update when property of an element changes

I'm wrestling with the way angular watches arrays. I have the following markup:
Mark Olbert
  • 6,584
  • 9
  • 35
  • 69
5
votes
1 answer

ng-map: Cannot read property 'apply' of undefined when setting zoom level

I'm using ngMap in an angularjs app. I'm running into an error when I try to set the zoom on a map element. Here's the error message from the Chrome console: TypeError: Cannot read property 'apply' of undefined at Wk.eventFunc (ng-map.js:205) …
Mark Olbert
  • 6,584
  • 9
  • 35
  • 69
4
votes
1 answer

Angular ng-map api key after google api changes in June 2018

I have been accessing the Google maps api by using ng-map in my Angular project without any problems. Since June 2018, Google has released new policies regarding their apis. So I have registered my project and got an Api-key now. My geocoding…
Hucho
  • 101
  • 2
  • 10
4
votes
1 answer

wkhtmltopdf google maps Issue

I need to create a pdf from a webpage with a map embedded in it. Im using wkhtmltopdf, elixir-pdf-generator for my wrapper and ng-maps on the front end. The PDF works fine except for the map portion. The markers are in the right place in relation to…
blankpage985
  • 61
  • 11
4
votes
0 answers

gmaps ng-maps custom marker moving on zooming in/out

I have created a custom marker with the html documentation from ng-maps as below:
Sachin Karia
  • 547
  • 2
  • 8
  • 22
4
votes
4 answers

How do I remove info-window arrow in map?

Here I only want the info box - without arrow:
Alaska
Danish
  • 53
  • 3
  • 7
4
votes
1 answer

NgMap error "could not find map"

I am fairly new to Angular, and I am trying to use this to integrate google maps: https://github.com/allenhwkim/angularjs-google-maps The problem I am having is when I try to get the maps instance using NgMap.getMap() When I console.log…
4
votes
2 answers

How can i use custom icon in ng-map marker(angular)?

I have list of shops which contains latitude and longitude and i have particuler user latitude and longitude. when user clicks map button two marker is showing in map which is identify user and shop location how can i change that two marker icons…
user5861300
4
votes
1 answer

How to draw polygon using hardcoded values in ngMap using angularjs

I need to draw polygon on google maps using the hard coded values.I have used ngMap ( https://ngmap.github.io/ )and used drawing manager of ngMap to it, because i also want the user to draw polygon dynamically. if i use drawing manager,i am not able…
Thilak Raj
  • 880
  • 3
  • 10
  • 25
4
votes
3 answers

Ng-map get address after dragging marker

I am using ng-map to use google map in angularjs. I want to get address safter drag end of marker. I have tried to find in their documentation but did not found for that. Their documentation is good but did not found what i wanted. After trying i…
Bik
  • 553
  • 10
  • 31
1
2 3
13 14