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

Why ng-map angular directive doesn't work when modals open ? (in plunker)

My Angular Module: I used ng-map directive, I entered the coordinates here: angular.module('ngMap').controller('mapCtrl', function ($scope) { //Open Modal Function $scope.open = function() { //Open Modal Function …
hakan hakyemez
  • 94
  • 1
  • 2
  • 13
0
votes
1 answer

ng-map (ionic) running but center is at top-left into modal

I´m running an angular map (ngmap) into a modal dialogue. It´s run fine, but center is showing at the top-left from modal window (not centered). I launch the modal with:
0
votes
1 answer

draw polyline between multiple markers using ngmap

How to draw polyline between multiple markers using ngmap? This is my ngmap code on dynamic marker using ng repeat
Thai Hau
  • 1
  • 1
0
votes
1 answer

Retrieving coordinates from google map

This plunker shows a google map. http://plnkr.co/edit/BfYggKO8nDolhmpq92dq?p=preview Simle Map
guagay_wk
  • 26,337
  • 54
  • 186
  • 295
0
votes
2 answers

create a line between markers using ngmap

I am using ngmap and angular js to show a set of markers in a map without problem. I need paint a line that join these markers. My code: In view:
maikelm
  • 403
  • 6
  • 30
0
votes
1 answer

ngMap - how to draw a polygon using an array

I'm trying to draw a polygon using http://ngmap.github.io/. If I use the following code it works perfectly:
Charles Jackson
  • 115
  • 1
  • 2
  • 12
0
votes
2 answers

ngmap for markers in google map

I am using ngmap and angularjs to generate points on a google map. I works perfectly on my local server, but when you move to a production server does not display the map. Seeing the console see the following error: "Error: google is not defined" My…
maikelm
  • 403
  • 6
  • 30
0
votes
1 answer

ng-map: how to set origin to current location for directions?

I'm using AngularJS and ng-map. How can I set the directions origin to my current location? I've tried: But this causes the map to not render anything. Thank…
user2577163
0
votes
0 answers

UI not updating when property changed within $interval callback

I have a service which defines a background $interval. It watches local storage to see if some server updates didn't get made due to connectivity problems. When it finds some, it periodically tries to contact the server with the updates, deleting…
Mark Olbert
  • 6,584
  • 9
  • 35
  • 69
0
votes
1 answer

Can't center google map with ionic framework and ngMap

I'm using Ionic Framework b14, and the latest ngmap, I have a view that shows the map but when I want to set the center it does not show the coordinates I'm getting from a service. (function() { var injectParams = ['$scope', '$stateParams',…
Alberto López
  • 246
  • 6
  • 22
0
votes
0 answers

google maps doesnt update in Angularjs

I have google maps model ng-map, when i write location it doesnt show that place, but if we inspect then it puts in center="London" that location
Erick
  • 250
  • 3
  • 13
-1
votes
1 answer

Call a method from infowindow NgMap

I have an infowindow. I am trying to call a function based on checkbox. here's my code $scope.showDetails = function(e, pothole) { console.log(pothole); var infowindow = new google.maps.InfoWindow(); var center =…
chan
  • 274
  • 1
  • 5
  • 24
-1
votes
1 answer

How to get all countries from google map with AngularJS

how can i get JSON list of all countries (autocomplet) in select for example With AngularJS (http://ngmap.github.io/)?
Mohammed Akdim
  • 2,223
  • 1
  • 13
  • 21
-1
votes
1 answer

How to calculate the center of ngmap polygon?

I am using ngmap and whenever i import KML polygon file the polygon is drown on the map. I have an issue concerning zooming on the polygon. Is there any way to calculate the polygon center (lattitude and longitude) ? if not is there anyway to zoom…
Rodrigo
  • 327
  • 6
  • 25
-1
votes
1 answer

AngularJS, NgMap and GoogleMaps Api (infowindow function error)

I'm going to initalize infowindows (for google map markers) through angular controller (i'm using ng-map module) NgMap.getMap().then (map) -> $scope.map = map for marker in markers latLng = new (google.maps.LatLng)(marker.latitude,…
Rafonix
  • 159
  • 1
  • 12
1 2 3
13
14