Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
213 views

I'm using the NgMap library to use the google maps api in my angular app. I'm adding markers using an ng-repeat directive, each with an on-click tag that calls to the controller and logs to the ...
Sam Barber's user avatar
0 votes
2 answers
187 views

I work with angularjs-google-maps and I used this example for my application. In the controller at vm.shops if I change the: vm.shops = [ {id:'1', name: 'FOO SHOP', position:[41,-87]}, {id:'2'...
Antonis's user avatar
  • 195
1 vote
1 answer
430 views

I'm confused because the AngularJs and HTML code is near exact to a project where this works, but this is also my first time using LAMP instead of MEAN/MERN so maybe it's something to do with that? ...
crash springfield's user avatar
0 votes
1 answer
1k views

In summary: I want to know if it is possible to combine the marker clusterer package with the angularjs-google-mapspackage and if there are any solutions to the problem. Detail: I'm replacing the ...
Russell's user avatar
  • 204
0 votes
1 answer
2k views

I'm kind of a newb when it comes to AngularJS and Google's API for maps and I've been trying to get coordinates on click. I'm using this API. I am getting an error: Uncaught TypeError: Cannot read ...
Петар Матко's user avatar
0 votes
0 answers
239 views

I'm using angularjs google maps. I'm trying to figure out how to leverage the viewModel instance (this) from a controller instead of using $scope. Lets say I have a simple controller: app....
Andrew Kim's user avatar
  • 3,361
0 votes
1 answer
375 views

I am developing a AgngularJs Google Map application (using AngularJS Google Map Directive) to show the current location using Marker and display the coordinates in an InfoWindow when the Marker icon ...
Jofin's user avatar
  • 5
2 votes
2 answers
206 views

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 ...
Alan's user avatar
  • 108
1 vote
0 answers
298 views

I want to create separate template for maker click event. But when I click on the marker it give empty template. Template test.html is not loading. Why it is happening. Plz see the running demo ...
Guest's user avatar
  • 515
0 votes
1 answer
205 views

I want to maintain a separate template for marker click events in Angular Google Maps. On this template I want to show the marker info when the user clicks on a marker. The markup is in test.html ...
Guest's user avatar
  • 515
2 votes
3 answers
11k views

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 <ng-map center="[{{latitude}}, {{longitude}}]"> <marker ...
White Marcus's user avatar
0 votes
1 answer
892 views

I am using angularjs google maps and i would like to custom style the infoWindow which is displayed on a marker click. The ui-gmap-window tag does have custom options and it works fine standalone. ...
user3646625's user avatar
0 votes
2 answers
381 views

I'm using NgMaps in my Angular app I'm trying to give the center point dynamically, but it's taking some other points which is not given by me: HTML: <ng-map zoom="5" center="{{center}}" style="...
Amjid Backer's user avatar
1 vote
0 answers
518 views

I want to show the center of India. The size of the map changes according to requirements. My problem is when the size of the map is reduced, it is not showing the center of India, please see the ...
user1308874's user avatar
1 vote
1 answer
2k views

I use google maps with ng-map and use markers and info-windows attached to these markers added to the map with ng-repeat. My angular view is the following: <div id="mapWrap" map-lazy-load="https://...
Tiha's user avatar
  • 628
2 votes
1 answer
452 views

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: <script src="http://rawgit.com/allenhwkim/...
Tiha's user avatar
  • 628
2 votes
2 answers
7k views

I'm using ngMap in an angularjs app. I'm displaying google-map with multiple markers onclick of Open map! button and first address present in the addresses array im taking as map center. Here is The ...
java developer's user avatar
1 vote
1 answer
2k views

I'm trying to use the ng-map library in a partial view. It works fine on the initial setup of the page (i.e., when the partial view is first created). But if I navigate away to a different partial ...
user avatar
5 votes
1 answer
3k views

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' ...
user avatar
4 votes
2 answers
4k views

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 ...
Tomino's user avatar
  • 6,309
0 votes
1 answer
537 views

Hi I have been using this Plugin and it's really cool than any other Plugin. But now am facing one scenario in which I need to use Google direction service in my app. . So kindly done one please help ...
Yokesh T's user avatar
  • 121
2 votes
1 answer
2k views

I am using ng-map google maps angular library and faced a problem when maps doesn't update, when I reload the page in my browser. Also I noticed that browser ask to share my current location and it ...
yurii.pitomets's user avatar
4 votes
1 answer
1k views

I tried to implement google maps infoWindow using AngularJS. I have a template <div>{{foo}}<br/>, with $scope.foo="bar" I want to see the info window with the value "bar" instead of ...
allenhwkim's user avatar
  • 27.8k
0 votes
2 answers
388 views

I have a problem with the performance of a click event on a marker. This is my map view: <div class="map-wrapper"> <map center="{{mapCenter}}" street-view-control="false" zoom-control="...
Philipp Schreiber's user avatar
0 votes
1 answer
1k views

I am using a custom GoogleMap AngularJS Directive, the less popular version of GitHub. I am using it because I was not happy with the way the other one handled events. I have a GeoJSON file full of ...
Karl Stulik's user avatar
0 votes
2 answers
143 views

I am new in angular js. I am trying to pass my json lat lon based on id in to google api. My json file structure. { "totalCount":206, "deals":[{ "id":"2", "Name":"samir", "...
Himanshu Bhuyan's user avatar
1 vote
1 answer
195 views

I created ngMap, and this directive does not watch any attribute values because attribute names are dynamic(too many cases). However, I wanted to apply $observe to attribute only if directive users ...
allenhwkim's user avatar
  • 27.8k
0 votes
2 answers
1k views

angular-google-maps abstracts the process of creating google markers (ie we don't do it directly via new google.maps.Marker({...});).. that said, there isn't a way for us to simply retrieve the ...
abbood's user avatar
  • 23.6k
3 votes
2 answers
10k views

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 ...
jakubjanousek's user avatar
0 votes
1 answer
507 views

I am working with the Google-maps-angular directive in my app and I am trying to wrap that directive within my own directive. It works fine if I define the map object in the controller. But when I ...
bachkoi32's user avatar
  • 1,476
8 votes
2 answers
22k views

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 ...
Mawg's user avatar
  • 40.5k
2 votes
1 answer
2k views

In my custom AngularJS google maps directive, I have map directive and marker directive, marker directive requires map directive. The following is the simplified version of my problem, which I cannot ...
allenhwkim's user avatar
  • 27.8k
30 votes
5 answers
68k views

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 ...
tdean's user avatar
  • 558
1 vote
1 answer
2k views

I am the creator of ng-map. I´m trying to develop a directive in AngularJS to show a Google Maps. I can show the map, but I want to go one step further. My directive will accept coords or an address. ...
Rober's user avatar
  • 6,158
1 vote
4 answers
15k views

I'm trying to develop an app using angularjs and a directive that I've found for instantiate GMaps: http://nlaplante.github.io/angular-google-maps/#!/usage. I follow all the steps but I cant get to ...
Facu Ferrari's user avatar