Skip to main content

All Questions

0 votes
2 answers
118 views

Issue with SCSS Styling in Leaflet Map with OpenStreetMap

Issue with SCSS Styling in Leaflet Map with OpenStreetMap I'm using OpenStreetMap and Leaflet to draw on a map. I have a function updateMarkers() that clears existing markers and creates new ones ...
Fatih Furkan Çambel's user avatar
0 votes
0 answers
170 views

Leaflet antpath error "Property 'antPath' does not exist on type"

I am doing a leaflet demo with angular 16. I have installed the leaflet package and it works perfectly but I can do the antpath polyline (The polyline works fine tho). Steps I've done: • npm install ...
Nhut Truong's user avatar
0 votes
1 answer
363 views

Get data from geojson file based on current marker location

I need to superimpose polygons on leaflet map based on the data in the geojson file as I need to display custom location names for areas. This geojson file contains co-ordinates of polygon along with ...
mobile devteam's user avatar
0 votes
1 answer
1k views

Do I need to set up my own OSRM server while using OSRM leaflet-routing-machine to display coordinates saved on DB snapped to road?

Ok so in my angular app I am working on the frontend I have two dropdown in which I specify the city of departure and arrival and the backend uses an api that calculates the coordinates of this two ...
manga boy's user avatar
3 votes
0 answers
1k views

Display ECharts map using OpenStreetMap without Leaflet

I would like to render a geographical map inside my web page using the ECharts library. ECharts needs a third party service to retrieve the images of the geographical region that it must display and I ...
Sirion's user avatar
  • 917
0 votes
1 answer
841 views

Get Leaflet map tile image for polygon

For a project I need to generate previews of polygons that we store in the backend. A polygon typically has this format: [lat,long] const polygon = [ [ 4.329064, 51.276626 ], ...
Florestan Korp's user avatar
0 votes
1 answer
2k views

How to integrate offline maps in Ionic+Angular using leaflet maps?

this.map = leaflet.map("mapId", { zoomControl: false }).setView([17.385, 78.4867], 13); leaflet.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { ...
Mobile Development Team's user avatar
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'...
user1's user avatar
  • 1
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 ...
user1's user avatar
  • 1
0 votes
1 answer
411 views

moving marker does not exist on type of import

moving marker does not exist on type of import please help me to solve this error. I have installed npm package npm install --save leaflet-moving-marker but it shows the error moving marker does not ...
Rajat Singla's user avatar
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', { ...
Haritha's user avatar
  • 87
0 votes
1 answer
432 views

Leaflet + Angular is it possible to draw semicircles?

In my angular application, I use maps through the ngx-leaflet library and openstreet maps. And now we need to draw semicircles. I know there is a Leaflet-semicircle extension, but I have already ...
Xablau Developer's user avatar
-1 votes
1 answer
63 views

launch navigator with a FAB

hello to those who see this, I'm a beginner in typescript development so i try my best I'm trying to launched a navigator (like waze, gmap or other...) with a FAB. this is my code in TS: ngOnInit() { ...
NCA.Rony's user avatar
0 votes
1 answer
663 views

Add marker on Leaflet map from another angular component

I have declared, in my Angular application, a const map variable in my mapComponent and I am able to add custom marker on map in the same component; how can I do the same thing from other Angular ...
GDC's user avatar
  • 53
0 votes
0 answers
176 views

How to find multiple markers?

I am trying to find a way to use multiple markers on an OSM map. In spite of a frightening number of tutorials, I am unable find a solution to recover the info (longitude, latitude of locations) in ...
NCA.Rony's user avatar

15 30 50 per page