makinacorpus / django-leaflet

Use Leaflet in your Django projects
GNU Lesser General Public License v3.0
710 stars 281 forks source link

How to add raster tiles in leaflet using django? #316

Open Momna03 opened 3 years ago

Momna03 commented 3 years ago

I am creating a website using the Django leaflet. I want to create a world map and want to set colors of different regions according to my data by a region name by using raster tiles. I am working on leaflet first time. I need some help. Thank you in advance. This is the map, I displayed on my website. I only want to display different regions in different colors. This is how I am displaying the map and want to display various regions in different colors. image

claudep commented 3 years ago

I'm afraid this is not really the right place to get help. Is your current code published somewhere?

Momna03 commented 3 years ago

My current code is not published somewhere. Right now I am trying to develop it.

claudep commented 3 years ago

I guess that people could help you if you had more specific questions and could view somewhere the current state of the code of your project.

Gagaro commented 3 years ago

Do you already have the raster tiles and want to use them or do you need to generate them?

Momna03 commented 3 years ago

Do you already have the raster tiles and want to use them or do you need to generate them?

I do not have any raster tiles.

Gagaro commented 3 years ago

Then you first need to generate them, which is outside of the scope of this module.