<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi,</span></div><div><br><span></span></div><div><span>i really don't know how handy would that be, but keep in mind that as far as i understand a layer has a reference to one map, so if you want to have features drawn in the map and allow switching between openlayers and Cesium you must have two map, add features to both maps and have duplicates of all features and layers. But again not sure if this is true.</span></div><div><br><span></span></div><div><span>On the other hand, i didn't knew that Cesium could switch between 2D and 3D, so maybe that enough.</span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman,
new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">De:</span></b> Jonah Taylor <jktaylo1@gmail.com><br> <b><span style="font-weight: bold;">Para:</span></b> Rodney Lorrimar <dev@rodney.id.au> <br><b><span style="font-weight: bold;">CC:</span></b> Javier Mr <javiersdevmail@ymail.com>; openlayers-dev@lists.osgeo.org <br> <b><span style="font-weight: bold;">Enviado:</span></b> Miércoles 13 de junio de 2012 1:28<br> <b><span style="font-weight: bold;">Asunto:</span></b> Re: [OpenLayers-Dev] I am working on an Openlayers adapter to the Cesium<br> </font> </div> <br>Hi Javier, Cesium has the capability to switch to a 2D view which is<br>also rendered with webgl. I was planning on creating a method in the<br>"Globe" class to switch between the two models. If you guys would<br>like to instead switch back to the original openlayers map, you
could<br>do that really easily by having two divs on your page with one having<br>the openlayers map and the other containing the globe and just toggle<br>the visibility on whichever div you need to be shown.<br><br>On Tue, Jun 12, 2012 at 4:02 AM, Rodney Lorrimar <<a ymailto="mailto:dev@rodney.id.au" href="mailto:dev@rodney.id.au">dev@rodney.id.au</a>> wrote:<br>> On Tuesday, June 12 2012, Javier Mr wrote:<br>>> i also think this is very interesting. However, and without having a<br>>> look to the code or how the integration is made, i don't think the<br>>> Globe should be a base layer. Instaead i concept like 'model' would be<br>>> better (in my opinion). A Map would then have a model (2D or 3D) and<br>>> then base layers and overlays. This way viewing the globe onr could<br>>> change base layer and overlays the same way now is made in 2D.<br>>><br>>> But again i haven't look in depth at it, so
i migth be saying<br>>> something wich makes no sense.<br>><br>> Hi Javi,<br>><br>> Yes that does make more sense than base layers. So I guess what I want<br>> is a way to easily switch it on and off.<br>><br>> For my hypothetical app, the user would mostly work in 2D layers and the<br>> 3D mode would be a gimmick so the user might more easily overlook other<br>> deficiencies in the app. I wouldn't want webgl all the time because it<br>> seems to run at 30fps and turns on my cooling fan.<br>><br>> I would have 3 base layers -- streets, aerial, bing aeriel. Then I would<br>> put a hook in my LayerSwitcher so that when switching to the 3rd layer<br>> it changes to the 3D 'model'.<br>><br>><br>> Cheers,<br>><br>> Rodney<br>> _______________________________________________<br>> Dev mailing list<br>> <a ymailto="mailto:Dev@lists.osgeo.org"
href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br><br><br> </div> </div> </blockquote></div> </div></body></html>