[OpenLayers-Dev] I am working on an Openlayers adapter to the Cesium
jktaylo1 at gmail.com
Tue Jun 12 16:28:42 PDT 2012
Hi Javier, Cesium has the capability to switch to a 2D view which is
also rendered with webgl. I was planning on creating a method in the
"Globe" class to switch between the two models. If you guys would
like to instead switch back to the original openlayers map, you could
do that really easily by having two divs on your page with one having
the openlayers map and the other containing the globe and just toggle
the visibility on whichever div you need to be shown.
On Tue, Jun 12, 2012 at 4:02 AM, Rodney Lorrimar <dev at rodney.id.au> wrote:
> On Tuesday, June 12 2012, Javier Mr wrote:
>> i also think this is very interesting. However, and without having a
>> look to the code or how the integration is made, i don't think the
>> Globe should be a base layer. Instaead i concept like 'model' would be
>> better (in my opinion). A Map would then have a model (2D or 3D) and
>> then base layers and overlays. This way viewing the globe onr could
>> change base layer and overlays the same way now is made in 2D.
>> But again i haven't look in depth at it, so i migth be saying
>> something wich makes no sense.
> Hi Javi,
> Yes that does make more sense than base layers. So I guess what I want
> is a way to easily switch it on and off.
> For my hypothetical app, the user would mostly work in 2D layers and the
> 3D mode would be a gimmick so the user might more easily overlook other
> deficiencies in the app. I wouldn't want webgl all the time because it
> seems to run at 30fps and turns on my cooling fan.
> I would have 3 base layers -- streets, aerial, bing aeriel. Then I would
> put a hook in my LayerSwitcher so that when switching to the 3rd layer
> it changes to the 3D 'model'.
> Dev mailing list
> Dev at lists.osgeo.org
More information about the Dev