Hi everyone,
I develop an AIR application with a cartographic module.
This cartographic module have to be offline.
I generate a TMS structure with mapTiler from a jpeg file, Geographic projection, WGS84 datum.
Now, I would like to display this files with openscales 2.2 but I really don't know how to do this and I didn't find any resources.
What is the best practice to do this in pure actionscript (best for me) or with flex?
Is there any tutorials or documentation to realize this?
Is anyone already did this kind of work?
Thanks a lot for your help.
Regards.
Julien
Hi Julien,Could you post your solution because now I try to load a tileMill export into openScale app.Here is my code, but it doesn't work.var tileURL:String = new File("Users/xy/assets/road-trip_a66ac9.mbtiles").url;var tmsLayer:TMS = new TMS("Road Trip", tileURL, "mapTiler")tmsLayer.format = "png";tmsLayer.maxExtent = new Bounds(-180,-85.05112877980659,180,85.05112877980659);_map.addLayer(tmsLayer,false);ThanksPeter