Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Updating map's source #75

Open
byaka opened this issue Aug 27, 2016 · 2 comments
Open

Updating map's source #75

byaka opened this issue Aug 27, 2016 · 2 comments

Comments

@byaka
Copy link

byaka commented Aug 27, 2016

Thx for this project, it's really missed functionality in game.

Map UI interface (/telemachus/map.html) now missed some functions from original http://www.kerbalmaps.com/. For example 'Biome layer' and POI.

What about updating?
Simple replacing old sources (leafletksp.js, leafletksp.css) and moving images to folder 'images' work perfect.

@IvanSanchez
Copy link

IvanSanchez commented Sep 19, 2016

Hey, @Leaflet maintainer (and KSP player) here.

It's a bit more complicated than that. Leaflet is now at v1.0.0-rc3, whereas kerbalmaps is still using the incredibly old 0.5.4.

On top of that, the code for KSP maps needs to use non-standard map projections. I can see some Proj4JS code in kerbalmaps, but cannot see the projection definitions.

On top of that, telemachus maps would benefit hugely from wrapping CRS (infinite east/west scrolling), solar terminators (daylight/night display). Those things are going to be impressively difficult just by grabbing the kerbalmaps code (not to say, we Leaflet folks won't care about maintaining anything that old).


Edit: The code for the custom projections seems to be over this repo

@IvanSanchez
Copy link

I've created https://gitlab.com/IvanSanchez/Leaflet.Kerbal in the hopes it can be a more up-to-date way of using Leaflet for kerbal maps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants