All Questions
12
questions
0
votes
0
answers
273
views
How to include the leaflet map in angular formly with custom component
I have to create the leaflet map where I have used the angular formly .
and I have created the custom component for leaflet map as
leaflet.component.ts
import { Component, OnInit } from '@angular/core'...
0
votes
0
answers
291
views
How to integrate the leaflet map in angular
I want to show the leaflet map in angular application
As I have used the angular formly for application with tabs because In my application I have to create the dynamic forms
In third tab I have to ...
0
votes
1
answer
2k
views
How to remove or empty the leaflet map based on the condition
I want to remove the map based on the selected condition.
.component.ts
dataChanged (selectsensor) {
console.log(selectsensor)
for( var j=0;j<selectsensor.length;j++){
for (var i =0; i< this....
1
vote
0
answers
465
views
How to add the text labels on the leaflet map
I want to show the text label to show the location name on the leaflet map(Not tool tip text, or popup text).
.component.ts
map[i] = L.map(v).setView([this.sensors[i].latitude,this.sensors[i]....
0
votes
1
answer
500
views
Getting the error of map container not found in leaflet map
My requirement is to show the multiple leaflet maps(based on the backend data) on the page.
map.component.ts
for (var i = 0; i < this.mapleaf.length; i++) {
map[i] = L.map(this.mapleaf[i])....
1
vote
2
answers
985
views
How to create the multiple leaflet maps on the page in angular
I have created the leaflet open street map given below.
.component.ts
map = L.map('map').setView([12.876, 80.599], 12);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
...
0
votes
1
answer
2k
views
How to change the map center position to top place using Leaflet open street map in angular
In my angular application I have created the leaflet map and over the leaflet map I have created two more panels data in overlapping manner And I have created the circle of 5 km radius on the map. But ...
0
votes
1
answer
3k
views
Add leaflet ImageOverlay to Layers Control
I use leaflet with the Angular package ngx-leaflet and just trying to get my layer for ImageOverlays in my LayersControl, so I can show or hide this layer in the map based on a checkbox. Somehow it ...
0
votes
0
answers
52
views
browser connectivity status using leafletjs
Currently I am using leafletjs for showing maps. Is there a way I can detect browser offline or online status.
0
votes
1
answer
185
views
Openstreemap Search box not working when integrated into application
I'm using the following code to set properties of OSM before the map is rendered. Although the search box appears I am unable to see suggestions when I type the name of a country.
Please find ...
0
votes
1
answer
809
views
leaflet markercluster does not recognize layeroptions
I am using the angular-leaflet-directive and Leaflet.markercluster. I am able to load markers within a service and now I want to present the markers on a map. The markers are printed and clustered in ...
2
votes
1
answer
2k
views
Leaflet map sources
Is there a list for all potential map sources out there? On the sample page one can browse through four types of maps. What else is out there?
http://tombatossals.github.io/angular-leaflet-directive/#!...