- Jun 6, 2020
- 11,559
- 4,422
Dear All
I created Leaflet web map in B4j with BANanoVueMaterial
Could you please help me, i'm waiting from Mr. Mashiane
How to add overlay image to map in Leaflet ?
Thank you very much.!
Best regards
PS: I see on Internet:
Instead of map overlays, you can also use image, video overlays in a Leaflet application. In this chapter, we will see how to use such overlays.
[H2]Image Overlay[/H2]
Follow the steps given below to use an image overlay.
Step 1 − Create a Map object by passing a <div> element (String or object) and map options (optional).
Step 2 − Create a Layer object by passing the URL of the desired tile.
Step 3 − Add the layer object to the map using the addLayer() method of the Map class.
Step 4 − Create the image overlay using L.imageOverlay(). Pass the URL of the image and an object representing image bounds, as shown below.
//...
I created Leaflet web map in B4j with BANanoVueMaterial
Could you please help me, i'm waiting from Mr. Mashiane
How to add overlay image to map in Leaflet ?
Thank you very much.!
Best regards
PS: I see on Internet:
برای دیدن لینک ها باید ثبت نام کنید
Instead of map overlays, you can also use image, video overlays in a Leaflet application. In this chapter, we will see how to use such overlays.
[H2]Image Overlay[/H2]
Follow the steps given below to use an image overlay.
Step 1 − Create a Map object by passing a <div> element (String or object) and map options (optional).
Step 2 − Create a Layer object by passing the URL of the desired tile.
Step 3 − Add the layer object to the map using the addLayer() method of the Map class.
Step 4 − Create the image overlay using L.imageOverlay(). Pass the URL of the image and an object representing image bounds, as shown below.
//...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید