Google Maps V3 Directive for AngularJS
Questions tagged [angularjs-google-maps]
35 questions
                    
                    30
                    
            votes
                
                5 answers
            
        Google maps for AngularJS
I am very new to AngularJS and I am trying to use https://github.com/angular-ui/angular-google-maps.
I am just trying to get the map to render on my page but I am getting an error message and I don't know what it means.  Any help with understanding…
         
    
    
        tdean
        
- 508
- 1
- 7
- 15
                    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…
         
    
    
        Mawg says reinstate Monica
        
- 38,334
- 103
- 306
- 551
                    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
                
                2 answers
            
        Angular.js prepends base path to absolute path URL
I'm absolutely new to angular.js, so I'm sorry for a such stupid question. But maybe it would help a little bit to other beginers.
I'm learning from a sample project created by someone else, but I'm using a local IIS (instead of IIS Express or VS…
         
    
    
        Tomino
        
- 5,969
- 6
- 38
- 50
                    4
                    
            votes
                
                1 answer
            
        AngularJS google maps infoWindow is not compiled
I tried to implement google maps infoWindow using AngularJS.
I have a template 
            
            
                
                    
    
    
         
    
    
                
            
        
    
{{foo}}
, with $scope.foo="bar" I want to see the info window with the value "bar" instead of seeing "{{foo}}". Thus, I compiled and set the contents with it,…
        , with $scope.foo="bar" I want to see the info window with the value "bar" instead of seeing "{{foo}}". Thus, I compiled and set the contents with it,…
 
    
    
        allenhwkim
        
- 27,270
- 18
- 89
- 122
                    3
                    
            votes
                
                2 answers
            
        (angularjs-google-maps) ng-click inside marker
This question is about angularjs-google-maps, https://github.com/allenhwkim/angularjs-google-maps
Is there a way to use ng-click on a marker to set a variable like this? (the value of 1 is hard-coded for testing purposes). Clicking the marker…
         
    
    
        jakubjanousek
        
- 33
- 1
- 3
                    2
                    
            votes
                
                2 answers
            
        Google Maps rendering - strange circles cover the map
I'm using the angularjs-google-maps directive, my code looks like this:
(function () {
  define(['angular', 'app'], function (angular, app) {
    app.directive('customMap', function () {
      var customMapTemplate =
        "
        
            
            
                
                    
    
    
         
    
    
                
            
        
    
                     
    
    
        Alan
        
- 108
- 7
                    2
                    
            votes
                
                3 answers
            
        Click to get Latitude and Longitude in google map using angular ng-map?
First of all I'm using Angular Google Map (ng-map). I want to get clicked location of google map's latitude and longitide.
My Code
   
        
            
            
                
                    
    
    
         
    
    
                
            
        
      
 
    
    
        White Marcus
        
- 195
- 2
- 3
- 12
                    2
                    
            votes
                
                1 answer
            
        angularjs-google-maps / ng-map stack limit exceeded when loading
I am trying to get angularjs-google-maps show a map in an angularjs project with the following code. (Only relevant code sections shown.)
In index.html: