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

Karma does not know about NgMap

The app works perfectly fine, but when I run Karma to unit test the controller... This is the error: Error: [$injector:unpr] Unknown provider: NgMapProvider <-…
Hedu
  • 61
  • 4
2
votes
2 answers

how to change the ng-map marker's text 'A' and 'B'

Hi I want to change markup text of ng-map. It should display "start" and "end" instead of "A" and "B" respectively. I did refer this, but no luck. It shows both the text "start" and "A" on markup. Also If you observe, distance between source and…
Ram
  • 3,887
  • 4
  • 27
  • 49
2
votes
1 answer

Callback for load GeoJSON in ng-map

It's a callback for loading geoJSON file by map-data in ng-map? My code looks simple: My GeoJSON loads some time…
radek.
  • 368
  • 1
  • 3
  • 16
2
votes
2 answers

Ionic Modal with ngMap using Google Place Autocomplete Won't Select Prediction

I'm using ngMap with Ionic 1.2.x and I've put together custom-control that contains a places autocomplete directive that in a plain HTML test works, but when I put it inside the ionic application and open it in a modal the on-place-changed event…
mtpultz
  • 17,267
  • 22
  • 122
  • 201
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

Show and hide drawcontrols in NgMap - Google Maps

I want to let a user click a button, to show the draw controls on a map. Once a circle, marker etc has been added, the draw controls are hidden again. I am building an Angular app and I am using the NgMap directive (https://ngmap.github.io/) My…
brother
  • 7,651
  • 9
  • 34
  • 58
2
votes
1 answer

How to render maps within ng-hide divs using ngMap without getting a gray rectangle

The problem: Google Maps elements that are within divs that are initially rendered as ng-hidden come up as gray rectangles when they are ng-shown. I've put together this Plunker to demonstrate: https://plnkr.co/edit/emzlIT?p=preview Others have had…
jamesthe500
  • 341
  • 1
  • 7
  • 10
2
votes
1 answer

Limit the dynamic markers to one

In the below plunker, i can add so many markers by selecting marker tool. But i need to limit it to only one. after adding one marker it should disable or the user should not be able to put another marker on map. i have used ngMap…
Thilak Raj
  • 880
  • 3
  • 10
  • 25
2
votes
2 answers

loop infowindow with marker using ng-map

so if I loop my markers with info-window, info-window show all info about all markers,no separately.I tried also use filter and filtered loop in info-window but not worked.. And sorry for my english i am not a native speaker.. info-window and…
2
votes
0 answers

Polyline no update in ngmap

I have a map using ngmap. By a form I get a dataset and represent in map. When I request a new dataset the map show the markers but not the line. This is a part of my code. JS: var app = angular.module('dataview', ['ngMap',…
maikelm
  • 403
  • 6
  • 30
2
votes
2 answers

ng-Map not showing text in info-window

I have the following Code:
gurehbgui
  • 14,236
  • 32
  • 106
  • 178
2
votes
3 answers

Markers move when I make zoom out using ng-map and angularjs

I am using ngmap and angularjs to create markers in google map. All ok, but when I zoom out in the map the markers move. My Code: var app = angular.module('dataview', ['ngMap']) app.controller('DataViewCtrl', function($scope, $http) { …
maikelm
  • 403
  • 6
  • 30
2
votes
1 answer

Simple in ngRepeat in ngMap not working

I thought I had done this sort of thing before but I'm stuck trying to do something simple. This is my HTML using ngMap ....
Simon H
  • 20,332
  • 14
  • 71
  • 128
2
votes
1 answer

angularjs: ngmap and cluster marker

in one of my client project I'm using ngMap (http://ngmap.github.io/), but I have problem with this "directive": how to user marker cluster and a map like this:
ZioBudda
  • 948
  • 2
  • 12
  • 24
2
votes
2 answers

Angularjs - ng-map - Google Maps Javascript API v3 - how to Set best Zoom for Multiple markers

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 Plunk example.js: angular.module('plunker',…