Is there a way to use Cesium 3D Tiles offline?

901 views
Skip to first unread message

Marc-André Bouvrette

unread,
Oct 11, 2017, 10:22:54 AM10/11/17
to cesium-dev
Let's say I have some 3D-Tiles on my tablet and I want to view them in Cesium without access to internet. Is this possible without creating a local server?

What I would want is a native application on my iPhone that has a WebView inside of it that would load my html and cesium locally.

Thanks for the infos
Message has been deleted

Gabby Getz

unread,
Oct 11, 2017, 4:46:24 PM10/11/17
to cesium-dev
Hi all,

I think it may be possible- we have a blog post exploring using Cesium with Cordova to make an offline Android app. I assume there are similar ways to get an application working on iOS. We have a guide for getting Cesium to load default assets without a web connection. If you get something working, we'd love to see it in action!

Thanks,
Gabby

On Wed, Oct 11, 2017 at 1:53 PM, Asmita Amol Wankhede <asmitaw...@gmail.com> wrote:
Since cesium is based on Node.js and the each tile or packet is a request to server, I believe this is not possible today.
If you see the network-  http trace, it would be clear why.
However if there is a way to have compressed data as one response packet that you then cash, it might work for a small geolocation area.

--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Asmita W

unread,
Oct 11, 2017, 7:26:41 PM10/11/17
to cesium-dev
that is very neat !
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.

Matthew Amato

unread,
Oct 11, 2017, 9:41:31 PM10/11/17
to cesiu...@googlegroups.com
Yes, this is absolutely possible on iOS and there are more than a few community members that have built projects this way.  Unfortunately I'm not one of them (yet) but hopefully others can chime in with their experiences.  The tech stack can vary greatly depending on the approach you take, but general it involves using a webview (as you already alluded to).

There is also a rather ambitious port of Cesium as a native iOS/OSX Metal-based library: https://github.com/tokyovigilante/CesiumKit but I'm not sure if it's being actively developed and it definitely doesn't handle 3D Tiles yet.

To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages