I want to insert my custom html markup with $scope event handlers to message property of leaflet marker. For example:  App.controller('testController', ['$scope', "leafletEvents", '$compile', 'leafletMarkersHelpers...
I am using angularjs with jqwidgets as a UI Framework and leaflet with angular-leaflet-directive. When I try to put a leaflet map into a jqDockingLayout / jqRibbon, the maptiles of leaflet are not shown properly (grey background instead of tile).  He...
. . .  because the tiles are absolutely positioned within parent containers whose heights are equal to zero.  Here is the directive: https://github.com/tombatossals/angular-leaflet-directive  I'm uncertain as to the appropriate channel by which t...
I have a custom directive that requires the leaflet directive so I can access the controller:  restrict: 'E', require: '^leaflet', scope: {  }, template: "", link: function(scope, element, attrs, controller) {  }   When I use...
I'm pretty new to Angular, and I'm trying to make a little app for learning.  I use the leaflet directive and want to add the NgRoute directive too but I have some errors in the console.   Here is my code :  var app = angular.module('demo...
I'm setting up the angular-leaflet-directive and trying to get my markers to load, but they aren't coming through the loop. However, when I log the array to the console, it comes up. Is there something I am missing? Should I push each i as an...
I am trying to add a custom marker picture but it keeps giving me the standard blue marker. Here's my custom marker definition:  var aMarker = {                         lat:location.lat,                         lng:location.lng,...
I'm attempting to create a custom popup while using the angular-leaflet-directive. I'm opening the popup from the leaflet.draw on:create event.  Here:  map.on('draw:created', function(e) {      layer = e.layer;     drawnItems.addLayer...
I am trying to follow the Leaflet procedure given here  with a great working example to automatically locate use in my Ionic app.  However I have some trouble finding the correct syntax to embeed the code given on the leaflet page with mine.  Thanks...
I've started using leaflet maps and I'm having very noisy output in js console. It looks like it's working in some kind of debug mode. It there any option to turn it off?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.