inexorabletash / travellermap Goto Github PK
View Code? Open in Web Editor NEWThe source code to TravellerMap.com
Home Page: https://travellermap.com
License: Other
The source code to TravellerMap.com
Home Page: https://travellermap.com
License: Other
The script is appended for analytics.
Could be fixed by not having an explicit body tag pair, but the CSS currently requires it to set the body classes.
Adding the following MapLabel to the labels in Render.cs will add a label to show the "Hiver Young Worlds" on the new maps
new MapLabel("Vargr Enclaves", 95, -135),
new MapLabel("Hiver Young Worlds", 90, 135)
"Object reference not set to an instance of an object."
e.g.
https://travellermap.com/api/jumpworlds?sector=Solomani%20Rim&hex=1824&jump=0&milieu=IW
Two cases:
CSS for atlas specifies a monochrome overlay color, but the canvas code hardcodes the color.
Fix this somehow, ideally with declarative logic.
Seem to be seeing context lossage on OSX in Chrome 49.
Verify, and handle "webglcontextlost"
and regenerate canvas (same as resize does)
Need to make the canvas aspect ratio depend on screen aspect ratio
There appears to be a race where the double-click triggers an "immediate" update, but a preceding update from the position/scale triggers a "delayed" update which then results in the credits hiding?
Instead of vast swaths of empty space, consider fallback data approaches:
Add server logic to 301 Redirect
all http
requests to https
Now that ES6+URL+Fetch polyfill are assumed, use the newfangled capabilities.
"default" allegiance calculation and/or default colors for borders, routes, etc. has changed
Trying with cloudinternetexplorer.com
Dragging is fine.
via email: "The Points of Interest button on the Beta version opens a selection menu in the same manner as the share button, legend button, change map appearance button, and the help, feedback, and more button. A second click on the four mentioned buttons closes the menu, however to close the Points of Interest menu one must click on the Search button. Wouldn't a second click on the Points of Interest button to close the menu be in keeping with the function of the four other The Points of Interest button on the Beta version opens a selection menu in the same manner as the share button, legend button, change map appearance button, and the help, feedback, and more button. A second click on the four mentioned buttons closes the menu, however to close the Points of Interest menu one must click on the Search button. Wouldn't a second click on the Points of Interest button to close the menu be in keeping with the function of the four other buttons?"
The Universe API will give back sectors for multiple eras, but the makers don't know how to request a specific era's data
Verify, for both legacy and T5SS sectors:
The T5 calculation of importance doesn't count Hiver and K'kree based - I assume others as well, this means the Federation world's LOOK less important than some nearby world's outside of Federation.
Examples:
https://travellermap.com/go/spin/1910?marker=res/markers/beowulf.png
https://travellermap.com/go/spin/1910?yah
- (you are here)
The maximum tile dimensions are 2048, and the x/y coordinates for api/tile are multiples of the width. So when 2560 gets clamped to 2048 everything goes wacky.
Up the limits (and watch out for hitting memory limits, e.g. by clamping # of pixels not dimensions independently) and/or correct the x/y parameters when w/h get clamped.
e.g. using a bad color name in a - it tells you the line number of the error but nothing further.
Bounds are fine; it's rendering using the exact scale, which may not match the scale of the tiles in view.
Profiling indicates that Routes are responsible for significant memory use. There are about 10k routes in the database, and each is fairly heavyweight:
One option would be a RouteGroup with the metadata and lighter weight route objects inside. This would also reduce the size of the XML.
Another would be to allow routes to contain multiple points.
PDFium renders them just fine, as does Apple's preview, but Acrobat reports an error on open.
The canvas isn't resized correctly
Also, Centrax has some sort of major glitch in its invisible borders.
At least, per tracing. There seem to be double rAF registrations.
To facilitate searches by readers of Agent of the Imperium
e.g. /api/universe?tag=Official
Maybe allow |
operator to specify multiple matches?
Appears iOS doesn't support this, leading to blurry tiles appearing above crisp ones.
Events are processed as window-relative, not element relative (due to a past simplification)
E.g. it should notice if "Allegiance" isn't there by some known abbreviation
base abbrev codes
- e.g. base A NS
indicates A
decodes to Naval and Scout basebase code sym color name
- sym
is a Zapf Dingbats characterregion
- like border but only filled, not strokedlabel
options high
, low
, left
, right
subsec
, quadrant
, sector
, custom
E.g. something CSS-like, using "media-queries" to handle scale-sensitive values and allowing scale factors
There are several data errors in the Hiver trade routes, mainly J-5+ routes.
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.