Questions tagged [angular-leaflet-directive]
AngularJS directive used to embed and interact with maps managed by the Leaflet library.
angular-leaflet-directive
257
questions
0
votes
0
answers
20
views
leaflet (angular) dosn't show overlay-pane
I have the next map with leaflet:
private initializeMap(): void {
let ubicacion = this.obtenerUbicacionActual();
const center: LatLng = latLng(ubicacion[0], ubicacion[1]); // where i am
...
0
votes
0
answers
27
views
how to fix marker on physical view in open street map
i am using open street map of leaflet template in my project.i have multiple markers but when i open map all marker are pointed on single point on map even they have different cordinates. and when i ...
0
votes
0
answers
82
views
Why map leaflet js crashed?
I used map leaflet in angular, before this i used map in other component dont have any problem. but at other component, i got problem, the map crashed/broken, every image from the map is not ...
0
votes
0
answers
20
views
leaflet iimage map find center of random iamges
I use a method to create a leaflet map with images. I want these images to fit correct to the map. How can i do that?
Images have different sizes
getImageMap(backgroundUrl: string) {
let map = ...
0
votes
0
answers
131
views
Leaflet custom marker position on the map is changing
I'm using Leaflet with custom markers. It seems that when I add a marker the top left corner is the location saved, and the icon is presented with the top left corner as the anchor. The result is that ...
0
votes
0
answers
61
views
Getting SQL.Database is not a constructor (leaflet-tilelayer-mbtiles-ts || sql.js)
While importing any mbtiles file, i get this error :
I had an error before that was about assigning a value to a readonly property named stack, so after searching a bit i figured that i had to update ...
0
votes
1
answer
96
views
How to make a leaflet AwesomeMarkers blink
I am trying to make my marker blink on a certain occasion using the alarm-blink class. Currently, I am only able to make the icon blink and not the entire marker. Here is the relevant code I am using:
...
0
votes
1
answer
1k
views
How do I remove the border that appears when map area is selected in Leaflet map
I created a leaflet map that overlays map tiles using a GeoJson file. When I click on a area that I have overlaid a ugly black border appears as below.
I also have used leaflet tooltip to bind a ...
0
votes
1
answer
508
views
make a bounding box that are select an area in the leaflet map using leaflet-area-select
I have an angular component and I want to use
leaflet-area-select
I import it and install it but when I call it in the code it's returning :
Property 'areaSelect' does not exist on type 'typeof ...
1
vote
1
answer
534
views
Leaflet - Map container is already initialized on page change
I am developing an app with angular I have integrated a complement that uses Leaflet to show a map with marks on specific points.
As I've said, I developed a component to reuse on different pages. But ...
-1
votes
1
answer
428
views
Leaflet.js map fit bounds maxZoom not working as expected
I'am using leaflet.js map in an angular project.
trying to make the map follow a marker which is getting live location data and using fitBounds() to follow the route.
but I wanna allow the user to ...
0
votes
0
answers
829
views
How to Spiderfy all the markerClusters in Leaflet markerClusters map library
I am using Leaflet masterCluster in angular for maps. I have added some markers in the map and i can see the marker clusters in the map. Currently i am able to spiderfy when i click on the marker ...
1
vote
1
answer
487
views
Markers not appearing on map using leaflet and angular
I am creating a map that displays a marker of coordinates that is stored in the database. However the marker does not appear on the map
the map is a part of the component.ts file:
ngOnInit(): void {
...
-2
votes
1
answer
710
views
Is it possible to make Azure map be the base map in Leaflet
I want to create a map that uses Azure maps as the base map layer in Leaflet.
From what I understand, Leaflet will be the canvas/control and Azure maps will be the layer added by Leaflet. https://...
0
votes
0
answers
432
views
Leaflet - How can I remove the old moving markers from the map's background?
I have almost 500 markers, and these markers have another marker. These two markers are also in motion. It gets a location update every 10 seconds.
Black circle marker is main marker, blue one is ...