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
2
votes
1 answer

Ionic ngMap infowindow not functioning on device

I've been working with the awesome ngMap directive created by allenhwkim but having issues with markers displaying info-windows on the device. I have tried different ways of nesting "data-tap-disabled='true'" and "scroll='false'" for different…
bl4design
  • 117
  • 1
  • 8
1
vote
1 answer

programmatically parse into polygon object google map / angular ngmap

I am trying to access shape and parse/ convert it to Polygon object so I can retrieve getPath().getArrays() Is there any way I can just retrieve the from the html and use it in my controller? $scope.insertAt = function (event) { …
Dave
  • 15
  • 5
1
vote
1 answer

How to click a button inside an info window with ngMap and AngularJS

I used ngMap with AngularJS to display marker and info window. The info window is used with customized template and HTML. However, when I used a button and click event inside the info window, it didn't work. I tried $compile and addListener but it…
Alex Huynh
  • 384
  • 3
  • 11
1
vote
0 answers

How to set different icons for each position using ng-map location

I am using ng-map for pointing location. It's working fine but All maps denoted by same icons. So I need to point out each location with different icons. How to achieve this process? I am getting this output with the same red icon and I enabled this…
vignesh
  • 21
  • 3
1
vote
1 answer

How to disable satellite & terrain option on ng-map?

I want to disable satellite & terrain option on the top left of ng-map. Is this possible?
Alex Huynh
  • 384
  • 3
  • 11
1
vote
1 answer

Filter Angular List View based on current view of Google Maps

I am using Angular Google maps with a list of markers. As the map zooms in I would like the list to shrink to only show the markers currently in view. I have created a plunker with some code. Any help on how I could filter the list as the map…
BGecko
  • 241
  • 2
  • 6
  • 15
1
vote
0 answers

Remove a polyline from a map NgMap

I want to remove a polyline from the map , Im using the NgMap module, I tried to set the map to null but it didn't work this is my controller .controller('mainController', ['$scope', function ($scope, NgMap) { $scope.mapsApiUrl =…
elmehdi
  • 13
  • 4
1
vote
1 answer

ng-show only working when set to true from the beginning

I am creating a map-based application using the angularjs library ng-map and have encountered a rather strange bug. I have the following code: script.js vm.showMarker = true //Boolean to toggle marker vm.toggleMarker = function(){ …
1
vote
1 answer

ng-map shows partial map in ui

I am using ng map and geting ui for half of the screen but not geting it in full div var app = angular.module('app', ['ngMap']); app.controller('ctrl', ['$scope', 'ngMap','$timeout', function($scope, ngMap,$timeout) { …
Paul Cheriyan
  • 638
  • 9
  • 19
1
vote
1 answer

Ng-map - infowindow on markers sometimes not appearing

I'm using the ng-map directive to display a map. The map has markers that show an infowindow whenever there's a mouseover on the marker. Sometimes however, the infowindow doesn't appear. Other than this, I haven't been able to identify any pattern…
Chris Halcrow
  • 28,994
  • 18
  • 176
  • 206
1
vote
0 answers

IE11 google maps bug

Ok so I have this weird bug in IE11. I am using ng-map (google maps for angular js basically) and on this map I have markers. Whenever I click on the marker I scroll to certain part of the page and it all works fine on every browser but of course IE…
Gregor A
  • 217
  • 5
  • 16
1
vote
0 answers

NgMap : map.showInfoWindow not displaying the info-window

Infowindow is not beign displayed on click though the data is getting passed to the function. map.showInfoWindow is not functioning. Here's my html code
Amit Singh
  • 1,790
  • 3
  • 17
  • 27
1
vote
1 answer

Angularjs and Google maps marker cluster

I'm new with Google Maps and I add ng-map but I have the same problem of official plunker code plunker, markers don't appear. This is my Angularjs code: //Google maps var app = angular.module('myApp',['ngMap', 'ngAnimate', 'ui.bootstrap',…
luca
  • 3,248
  • 10
  • 66
  • 145
1
vote
1 answer

NgMap infowindow not aligned with markers

I am using ngMap, but the infowindows are not aligned with the markers. they usually appear to be about 50px up and left of their marker. I should note that it did work originally, then we changed from Mongo to SQL, and for some reason, it never…
IWI
  • 1,528
  • 4
  • 27
  • 47
1
vote
1 answer

NgMap AngularJS setZoom()

Is anyone familiar with NgMap directives for using the Google Maps API? I have gotten a map to render with markers on data points, however I want to zoom in when I click on the marker. This isn't working for me. I am just trying to log the passed in…
lnamba
  • 1,681
  • 3
  • 18
  • 26