finitemonkeys / kerbal-maps Goto Github PK
View Code? Open in Web Editor NEWA Google Maps-like UI for Kerbal Space Program (KSP) celestial bodies.
License: Apache License 2.0
A Google Maps-like UI for Kerbal Space Program (KSP) celestial bodies.
License: Apache License 2.0
Biome, satellite, and slope; zoom level 0
Essentially, take the tiles at the highest resolution and stitch them together into a single image.
Mechanically, this isn't difficult, but the resulting image will be big and could have a substantial impact on the bandwidth budget. (Then again, it should be about the same as somebody viewing the entire map at the highest zoom level, so maybe we're talking no more than twice the current bandwidth.)
celestial_bodies
tableInfo.txt
into celestial_bodies
Leaflet.HtmlLegend
plugin to UIhttps://kerbal-maps.finitemonkeys.org/?body=Mun&loc=-9.8314,25.9177 should load a map of Mun, but it's loading the map of Kerbin instead.
I found references to these packs by searching through the forums. I don't know if there's likely to be any demand for them or even if they're still supported. Each one will need to be tracked down and if still valid, an issue created with a link to where to find it.
The KSP wiki contains links to the old Kerbal Maps with queries like ?body=Kerbin&loc=20.6709,-146.4968
. We should support these.
As far as I can tell, the only existing "documentation" for the query parameters supported by the original kerbalmaps.com is at https://wiki.kerbalspaceprogram.com/wiki/Template:Kerbalmaps . As many of the original query params as possible should be supported, if for no other reason than to not break any map links in the wiki.
body
loc
(Note: display a marker on the map, with text from 3rd element of tuple)center
(similar to loc
, but no marker)zoom
overlays
(comma-separated list of spacecenters
, anomalies
, poi
)Google Maps switches to a spherical-ish projection when you zoom out far enough. Can we do the same?
I think Leaflet supports non-rectilinear projections, but some investigation is needed. A complication may be that since our source data (the tiles extracted from KSP) are based on a rectilinear projection, they may not look so good if converted to a spherical projection.
Biome, satellite, and slope; zoom levels 0-7; biome legend data
As requested by forum user drtedastro.
I'm going to add this as a todo but I reserve the right to change my mind once I see it implemented.
planet_packs
table
stock
as first rowplanet_pack_id
foreign key from celestial_bodies
to planet_packs
planet_pack_id
for all current rows to ID of stock
NOT NULL
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.