mWater / mwater-visualization

GNU Lesser General Public License v3.0
3 stars 5 forks source link

Switch to maplibre-gl #462

Open grassick opened 2 years ago

grassick commented 2 years ago

Mapbox-gl which is what new maps is based on, has gone proprietary. Maplibre-gl is the popular replacement and is more or less drop-in.

Testing it on branch maplibre.

The base maps need discussion.

Mapbox is expensive at 50000 map loads/month, then 0.5 cents each after for each session

We have several choices for our light, dark, road, aerial needs. We currently use carto, carto, bing, bing respectively. Both have never asked for payment for our level of use. These are raster tiles, not vector ones, so zooming isn't as pretty.

Maptiler is 500,000 tiles for $25/month. But then 0.01 cents per tile afterwards.

We also need to check if MacBooks still hang the entire browser when many maps are loaded.

grassick commented 2 years ago

@rocketboy76 @bpjensen1 You can test out the new (new) maps by clicking on "Enable MapLibre" at https://portal.mwater.co/#/maps

It's a new updated mapping software. We're using MapTiler for the tiles at this point. We should check if it still crashes browsers on Mac Chrome when lots of maps are open.

This is just a quick update to the latest library and we should keep new mapping tech alive until we decide what to do.

bpjensen1 commented 2 years ago

Hi Clayton,

Thanks for this. I have reactivated the new maps feedback Google doc here: https://docs.google.com/document/d/1AdoCxC9Av69_mHvwJGYxyHQKuQUtOiQVXjgf9g-0IXs/edit?usp=sharing I have split the old feedback into a separate section New maps 1.0. The new mapping technology, with Maplibre is in the section New maps 2.0. Some of the same errors are appearing so i’m just migrating them when I find them in the newest version. I don’t think I will be able to go through this in-depth until October. I think it’ll be important for the water system management down the road because they require more precision in zoom and symbol scale levels.

Regards,

Brian Jensen Global Project Manager, Solstice / mWater +1 (612) 217 1302 (US & Whatsapp) live:jensbrian_2 (Skype) On Sep 22, 2021, 9:27 AM -0500, Clayton Grassick @.***>, wrote:

@@.*** You can test out the new (new) maps by clicking on "Enable MapLibre" at https://portal.mwater.co/#/mapsIt's a new updated mapping software. We're using MapTiler for the tiles at this point. We should check if it still crashes browsers on Mac Chrome when lots of maps are open. This is just a quick update to the latest library and we should keep new mapping tech alive until we decide what to do. —You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

Autio commented 2 years ago

Reactivating the feedback document now that we are testing this again:

https://docs.google.com/document/d/1AdoCxC9Av69_mHvwJGYxyHQKuQUtOiQVXjgf9g-0IXs/edit?usp=sharing

Notably, filtering doesn't work as expected since it doesn't refresh upon filtering but instead upon editing the widget again.