wrld3d / wrld.js

A JavaScript API for beautiful 3D maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable a debug interface during development?

DaneTheory opened this issue · comments

During development, it would be helpful to include an interface within the window that displays current map settings in realtime (i.e. center, zoom, etc.). This would make it much simpler to create/edit map animations, layers, points, etc. on the fly.

Looking into the PR backlog for eegeo.js there's a branch referencing Three.js. The debug functionality I'm asking about is included with Three.js (example can be found at the top right corner of the page here: https://threejs.org/examples/#misc_sound).

Is this currently available in eegeo.js? If not, anyway to quickly enable something similar? I can't find any DOCs listing API's exposed at runtime.

Have added this to roadmap, agree with suggestion. Will add an optional debugging widget that displays this information.

One non-ideal work-around in the mean time is to make use of https://maps.wrld3d.com/ -> right click -> whats here | share, which will provide you WGS84 lat,lon at the cursor, and current zoom and orientation.

heh, nice little workaround. Works fine for the short term. Editing the orient param still causes a break in animation I mentioned in #34