Skip to main content

All Questions

1 vote
2 answers
1k views

AngularJS Leaflet Markers Won't Render

I've been trying to implement a marker and path trail to a leaflet map inside an ionic project and have been using following this angularJS with Leaflet documentation/example found here. However, when ...
garrettmac's user avatar
  • 8,527
2 votes
1 answer
1k views

Get marker location in Angular Leaflet Direction

I'm using Angular Leaflet Directive. In the example, say here form the docs (http://tombatossals.github.io/angular-leaflet-directive/#!/examples/dragging-markers), we have a marker that is draggable. ...
kuanb's user avatar
  • 1,678
2 votes
2 answers
1k views

angular leaflet marker change property with function

I would like to change some leaflet marker properties by clicking a link outside the map, but it doesn't work. Check out this fiddle: http://jsfiddle.net/Ls59qLLa/2/ js: var app = angular.module('...
JoergP's user avatar
  • 1,539
1 vote
1 answer
1k views

Markers not appearing in leaflet

I am trying to load the position form the database and assign it to marker(lat, lng). But when I push the new marker to my markers array, the markers are not appearing on the leaflet map. I am ...
Shiva's user avatar
  • 235
0 votes
2 answers
6k views

Angular leaflet marker click

I use leaflet with angular and would like to make a button clickable in a message popup. I know I have to compile the HTML, but I can't get it to work in my case since I didn't find an example with a ...
Jo Pfeffer's user avatar
1 vote
2 answers
1k views

Angular Leaflet geojson custom marker

Is it possible to define your own marker icons in GeoJSON? I have tried many ways to get the desired effect but nothing works .. Example code from geojson FeatureCollection where i want add custom ...
parismo's user avatar
  • 11
1 vote
1 answer
3k views

AngularJS ngRepeat function call

I'm using a leaflet map in my application but I need to add markers to this map. The information about the coördinates for this marker I need to get from a json file. So my plan was to use a ng-...
Warri's user avatar
  • 217