• Rurik Bugdanov's avatar
    Place a marker in the scene on map ctrl-click · 7ac7ac50
    Rurik Bugdanov authored
    (using view._scene._nameSpace.doc.ctx.pickValue())
    
    The problem is that after changing the viewpoint the scene must be
    rendered before calling pickValue() and that I do not know how to use
    an offscreen scene with x3dom.
    
    The workaround I found is to change the viewpoint on ctrl-mousemove over the
    map, so that when the map is clicked, the scene needed for pickValue() is
    already rendererd and pickvalue cam return the proper coordinates.
    
    TODO:
    - change the viewpoint on keydown ctrl over the map (dont wait mousemove)
    - implement code related to issue #4
    - restore the original viewpoint when ctrl is released or
      on mouseleave map
    - ...
    7ac7ac50
Name
Last commit
Last update
..
images Loading commit data...
jquery Loading commit data...
jquery-ui Loading commit data...
leaflet Loading commit data...
x3dom Loading commit data...
.directory Loading commit data...
index.css Loading commit data...
index.js Loading commit data...
kml.js Loading commit data...
leaflet_init.js Loading commit data...
map.css Loading commit data...
map.js Loading commit data...
nomap_init.js Loading commit data...
nomap_vr_init.js Loading commit data...
playloop.css Loading commit data...
playloop.js Loading commit data...
ui.css Loading commit data...
ui_align.js Loading commit data...
ui_functions.js Loading commit data...
ui_help.js Loading commit data...
ui_init.js Loading commit data...
ui_menu.js Loading commit data...
util_functions.js Loading commit data...
x3dom_functions.js Loading commit data...
x3dom_init.js Loading commit data...
x3l.js Loading commit data...