Using Geowebcache tiles in OpenLayers 3 - openlayers-3

Is there any way to use pre-rendered tiles from inside my GeoServer/data/GeoWebCache as a standalone folder with OpenLayers 3?
GeoWebCache tiling schema is different from classic ZYX.
Is somewhere any script to transform whole structure of tiles to any other schema, which is suitable to use with OpenLayers 3?

No but there is this pull request that implemented it: https://github.com/openlayers/ol3/pull/3241

Related

Incorporating WebGL into Dash Plotly

I'm reading the Dash documentation and can't seem to figure out if I can run WebGl (JavaScript API for rendering interactive 2D and 3D graphics within any compatible web browser without the use of plug-ins) inside the python platform. Html.script will not be executed but custom javascript placed in the "Assets" folder will be executed. I'm just not sure if this would be sufficient. I just want to add some pizazz the dashboard

Is there a way to pick *.HEIC files from an ios device in Flutter using Image_Picker or similar plugins from pub.dev?

i'm developing an App where I can upload images/photos from my phone photo gallery (ios device) to firebase.
Since I want to upload the images/photos in original format (e.g. *.HEIC for pictures taken by an iPhone) I need a plugin which allows me to do that.
Following plugin's I've tried so far:
wechat_assets_picker: this one does what I want to have and returns me a temporary path which contains the the picked image in it's original format (e.g.: /anyPath/tmp/IMG_0024.HEIC). But since I don't really like the UI of wechat_assets_picker, I would like to have sth. else. Maybe more native looking
image_picker: returns a path where the picture is converterd to *.jpeg (e.g.: /anyPath/image_picker_randomNumber.jpg). This is not what I want!
images_picker: same as image_picker... converts the image to *.jpg
image_pickers: similar to wechat_assets_picker but it does what I want. But I don't like the UI either
likk_picker: same - not what I'm looking for
file_picker: same - returns *.jpg
I'm getting tired trying all the plugins.
Is there anyone who can support? Maybe any other way how to pick an image from my gallery in it's original format and quality?
Thanks!
Given the fact that other plugins usually compress HEICs when picking, I would suggest you consider the below solutions:
wechat_assets_picker allows you to build your widgets using delegations. By override build delegates, you can customize each part or the whole part of the interface.
wechat_assets_picker depends on the underlying plugin photo_manager which allows you to build your widgets from the bottom on your own.

How to use paths with CreateJS

I'm trying to develop a small game using CreateJS.
I want to draw a path, using this tool: http://tomkrcha.com/?p=3640 and then I need to make an object which will move on this path.
Is this possible? I don't understand, how can I link an object with a path...
Thanks.

Create a substitution template with Adobe Illustrator

Is there a way for my designer to create an Adobe Illustrator export or particular file type that can contain variable substitution so images or text within the template image can be replaced at runtime to generate new png's for a website?
Once I have the template I want to bind data at the time of request to generate a new image.
The solution is to use Adobe Scene 7 with Illustrator to upload / convert .ai files into .fxg which parameterizes any layer / object in Illustrator art and allows you to modify the items at runtime via an addressable URL. This is a paid service, but I imagine slimmed down version of this could be accomplished using an SVG implementation.

SVG files in Raphael, can they be used?

I have an SVG file that I would like to display via Raphael (each svg file is a node in a tree I'm trying to draw, the actual connections of the tree will be made by raphael). I tried something like:
var vector_image = paper.image("test.svg", 50,50,50,50);
but no dice, seems only "real" image files like png or jpeg are accepted? I find this very strange as Raphael itself uses Scalable Vector Graphics.
Is there anyway (short of parsing the SVG files into javascript snippets and pasting them into the html document) to display existing SVG files using Raphael (or any other vector based javascript graphical engine?)
If parsing it will have to be, is there any easy way to do this, short of just manually scraping the files? I'm running this code on a Ruby on Rails server, so I'd like to avoid solutions outside this framework, if possible (I've heard of one PHP solution through this site...I'd rather code by hand than add another language onto this project).
-Jenny
It's currently not possible to display existing SVG with Raphael, and there are apparently no plans for the implementation of SVG editing (see this forum post).
As for alternative JavaScript libraries, a newer alternative is Snap.svg, which can load external SVG files via its Snap.load() function.

Resources