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

ng-map. text inside shape?

does anyone know if it is possible to have text inside a shape with ng-map.
user2062455
  • 411
  • 5
  • 14
0
votes
1 answer

ng-map vm.positions don't update

I'm using ng-map directive with AngularJS. I have the follow code to generate marks. I save in array lat and long for every mark, as in the examples (https://ngmap.github.io/#/!marker_with_ng_repeat_dynamic.html) and I can see in logs that the info…
Jfhs19
  • 11
  • 4
0
votes
1 answer

Is there an event that is sure to fire when google maps is loaded, when using angular js?

I am using angularjs and ngmap (https://ngmap.github.io). The map is initially hidden from view (using ng-show), and i want to be able to toggle between views without having to reload the whole map. I also want to display a kml on the map. The map…
zod
  • 2,688
  • 5
  • 27
  • 49
0
votes
2 answers

ng-map center not working as expected

I am using ng-map directive as below: var center1 = $scope.latitude; var center2 = $scope.longitude; console.log(typeof center1); $scope.map_center = [center1, center2];
Vikas J
  • 358
  • 1
  • 5
  • 17
0
votes
0 answers

How get the shortest path

Am using ionic and firebase to develop my project.I use ngmap to display the events but I would display the shortest path to the event location. Can you provide me by a useful link or exemple please.
Sihem Hcine
  • 1,089
  • 5
  • 24
  • 40
0
votes
1 answer

ng-maps record latitude longitude

I have embedded a Google maps in my web application using:
Vikas J
  • 358
  • 1
  • 5
  • 17
0
votes
1 answer

How to implement toggle effect to ng-map

I am using ngmap to my project.I need to implement initially ng-map should hide,if we click button then it will visible and again click it should hide. i did using ng-hide and ng-show method,but if we click button its getting gray color and map does…
Nithesh S D
  • 103
  • 2
  • 10
0
votes
1 answer

Google map - tabs info window issue

I am using ng map in two tabs. On load to display the marker with address both tabs. If once the marker to show the error in console. I am trying but Cannot fix that. Onload I want to display the marker with (info window) address both…
senthil
  • 195
  • 1
  • 1
  • 11
0
votes
0 answers

Accessing marker on event listener

I'm using ng-map for a project and I'm having trouble accessing the marker on on-click event. This question was answered 4 months ago by @allenhwkim that I can access the marker with this but when I try that I get undefined. This is how I create my…
0
votes
1 answer

Angularjs ngMap Conflict With Html image Map

I am using Ngmap in angular js , it works fine but there is requirement to have Image map in my html Html Image Map :
Arash
  • 3,458
  • 7
  • 32
  • 50
0
votes
1 answer

custom-marker from ng-map with ng-repeat gives me $digest loop errors while still working properly

I currently use this to get custom markers on a map. I got it working without errors on plunker, but not on my own site (even though I'm using the same script src links) On my own page ng-repeat works, but it gives 2 very long errors informing me…
0
votes
2 answers

on-click marker in ngMap with id?

I am using ngMap to display a map with markers on it. I want to redirect the user to a URL, when he clicks a marker. To build this URL, i need a unique id, from the repeat. I have this;
brother
  • 7,651
  • 9
  • 34
  • 58
0
votes
1 answer

Angular ng-click does not work after an exception in a ng-map directive

I used ng-map (http://ngmap.github.io/) in a modal to serve googlemap in my application, but after an exception in that directive my close button in the footer wont work. When I put that close button before the directive(for example in header) it…
Pooya
  • 531
  • 1
  • 5
  • 10
0
votes
1 answer

How to auto open Infowindow on marker on NgMap load?

How to auto open infowindow on marker on NgMap load ? Here is my code: Hello World!
user2985035
  • 569
  • 3
  • 8
  • 18
0
votes
1 answer

show multiple info-windows with ng-map in angularjs

I have this code for showing a info-window in google maps . The problem is that it always shows the same data in the info window. For the markers it is no problem to use the $scope.result array.
Koen
  • 29
  • 7