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
0
votes
0 answers

Resize map marker in NG-Map (AngularJS)?

I am trying to resize my map icon with scaledSize however the icon does not change, here is my code: This works:
0
votes
1 answer

angularjs possibly unhandled rejection could not find map

I start by saying that I already saw all the similar questions. I have an angularjs application which uses ng-map and ui-router. The problem is the one mentioned in the title. When this error is thrown the map ends up in the middle of the ocean. I…
Daniel Srp
  • 373
  • 1
  • 2
  • 9
0
votes
1 answer

Not able to switch language dynamically using AngularJS (NgMap)

I am using ngmap (http://ngmap.github.io) version 1.18.4, angular version 1.4.9. I want to switch language but it didn't take effect. I saw a couple of issues that are already discussed,…
Hassan Kashif
  • 435
  • 1
  • 7
  • 26
0
votes
2 answers

Google Maps API gesture handling not working with AngularJS Material

(EDIT: When you use plain Google Maps API with AngularJS Material the problem is the same.) When I use at the same time in my AngularJS app: NgMap (https://github.com/allenhwkim/angularjs-google-maps) AngularJS Material…
0
votes
1 answer

Check if the marker is inside the circle radius AngularJS

I'm trying to know if a given marker is inside a circle radius. And I want to know if the marker is clicked so it will show an alert about the marker's position. I'm using ng-map. Sample map image My HTML :
0
votes
1 answer

Display more than 100 markers in angularjs google maps with rotation

I have been using ngMap with my angularjs code for displaying markers. However, with more than 100 markers I have noticed that there is a considerable decrease in performance mainly related to ng-repeat and two way binding. I would like to add…
jose
  • 143
  • 2
  • 13
0
votes
1 answer

the scope doesn't send data to html

I give my map the lat and lon but in the map it doesnt take it. can anyone help ? Image 1 : Image2 : this is the controller : angular.module('todoController', ['ngMap' , 'firebase']) // inject the Todo service factory into…
elmehdi
  • 13
  • 4
0
votes
1 answer

unble to show a marker in ng-map, error - [ng:areq] Argument 'myCtrl' is not a function

i want to show one marker in ng-maps, but im getting error saying Error: [ng:areq] Argument 'myCtrl' is not a function, got undefined code
krishna mohan
  • 15
  • 1
  • 5
0
votes
1 answer

Input type = "submit" not working in custom-control

for some reason my input type= "submit" is not working (it's only working for the 1st time). I wrote the input in a custom-control. Will that be a problem? Help is much appreciated. Thanks. Here is my code. page.zoom = 4; page.btn_Click =…
0
votes
1 answer

NgMap and Heatmap with async data

I'm having trouble consolidating NgMaps and the Heatmaps from Google Maps API. If I load the data from a script tag, it works fine just like in the NgMap example. But if I try to create the data array locally, it won't work and it will give me an…
Eric Mitjans
  • 2,149
  • 5
  • 40
  • 69
0
votes
1 answer

Cannot read property 'lng' of undefined

I am using customer marker in google maps using ng-map.min.js I am change the position of the custom marker, but it is showing the following error : Uncaught TypeError: Cannot read property 'lng' of undefined at a.setPosition (ng-map.min.js:25) …
chaitanya k
  • 199
  • 1
  • 3
  • 14
0
votes
2 answers

Marker Info-window not working using ngMap

I am trying to show an info window on google map using ng-map. Here's my code:
0
votes
2 answers

ng-mouseover on ng-map marker doesn't fire

I have an ng-map (using the popular ng-map library for implementing a Google map with angularjs):
Chris Halcrow
  • 28,994
  • 18
  • 176
  • 206
0
votes
1 answer

ng-map - firefox navigator.geolocation.getCurrentPosition success callback not called

I'm using ng-map, and I'm using navigator.geolocation.getCurrentPosition to get the user's current location, however in Ffx, the success callback doesn't seem to get called. When I add a breakpoint inside the callback function, it is never hit (it…
Chris Halcrow
  • 28,994
  • 18
  • 176
  • 206
0
votes
1 answer

How can I refresh/delete markers on Google maps using ngMaps

I am creating and clustering my markers with the markerclusterer library and this code: function populateMapLocationData(locations) { NgMap.getMap({id:'map'}).then(function(map) { $scope.assetMap = map; …
Smiter
  • 1,069
  • 1
  • 14
  • 33