The thing I am stuck with is figuring out a way how to draw a driving route with multiple markers (waypoints) with Leaflet JS Maps.
I want to achieve visually something like this: http://www.geocodezip.com/v3_directions_multipleWayPts_CustomMrkrs_busRoute.html but with Leaflet JS Maps.
Can somebody help me, is this even possible with Leaflet JS Maps?
Related
I'm searching for a tools or a library than I can use in react Js/ react native which allows to create or draw a dynamic line like in a GPS (with a smooth transition) by giving it multiple datas (not really a longitude and latitude). For instance, by giving the points A,B,C,D...we will obtain a line or a road from point A to D. The perfect example to explain that is a tool/library which work like a gps, but the datas (longitude and latitude) are replaced by the position in an certain area. I hope I'm clear. Thank you.
I'm trying to Build a react app.
I'm working on creating a dynamic map of the factory at which I work. I would like to create a map that can zoom in and out with different elements that will populate depending on the zoom level. I can't find any tutorials that DON'T involve using some sort of maps API to just create a quick maps app. I want to use my own images, my own elements, but with the basic functionality of Google Maps, and I'd like to use React if I can.
Where can I go for this? It's difficult to find anything that talks about the basic "tile structure" coding logic of a zoomable web app that will render different images (in my case would be the "zoomed" images of the same factory) depending on the zoom level. Thanks, any help helps
I am using the google maps api in my React project
How can I hide the markers cluster when there is not markers inside ? I've tried with clearMarkers() but does not work.
I suggest you take a look on this question, it is similar to yours. Here
you can try setting it to null
markers[i].setMap(null);
I have a problem, I am already developing an application with react js using mapbox, my problem is what I want to draw routes in the map from a given position. How do I do it?
Here you have few great source how to do it:
Add a line to a map using a GeoJSON source
Animate a point along a route
Support for drawing and editing features on mapbox-gl.js maps.
Good Luck ;-)
I am using AngularJS and leaflet for my project where lots of markers making the map messy, I would love to markerCluster with angular, I followed this but I am unable to find leaflet.markercluster.js in the code.
You can find Leaflet.markercluster plugin as many other plugins, here http://leafletjs.com/plugins.html