tiles

OGNL and wildcards working in tiles definitions with struts2-tiles-plugin?

元气小坏坏 提交于 2019-11-29 17:40:00
I want Tiles to resolve ognl from the struts2 value stack. How to do this? Using tiles 2.2.2 (although if a later version such as 3 could be used that is fine) Here it mentions the new feature: http://tiles.apache.org/2.2/framework/whats-new.html Here it shows how to implement it: http://tiles.apache.org/2.2/framework/tutorial/advanced/el-support.html#OGNL_Support But I'm not certain how to go about that in my project. Does anyone have tiles3 working in their struts2 project? I remember reading about some way to turn on all new features in tiles 3 by default but I can't find a link to that

How to render custom map tiles created with gdal2tiles in Leaflet for R?

。_饼干妹妹 提交于 2019-11-29 15:52:24
I'm working with the ESA's landcover raster layer and ultimately want to display that data for the globe in a Leaflet Shiny app. Rendering such a massive file is impossible, so I've decided to create map tiles to display the data. Creating the tiles was simple--I used the gdal2tiles tool in QGIS. Here's a quick look of the output, which is in a local directory on my computer: When I click the leaflet.html file , the tiles are rendered in my browser, like so: Obviously the tiles are in working order. The problem is that I don't know how to render these tiles in Leaflet for R. I tried following

How to create a big image file from many tiles in java?

孤者浪人 提交于 2019-11-29 10:21:49
My program produces 10 x 10 tiles images of 3000x3000 pixel, one by one (currently saved to 100 files named image_x_y.jpg ) I want to assemble these 100 images into one big image, without loading everything in memory. My goal is to create one big image file, of 30'000 * 30'000 pixels. I'm looking for a way to do this without using JAI (which cannot be installed from public maven repositories, I don't understand why) Is there a way to do this with pure java2D ? Or does another library exist, able to handle this ? My original idea was to create a very big buffered image, from a DataBuffer backed

Android custom control to display map tiles [closed]

谁说我不能喝 提交于 2019-11-29 05:19:04
I have on my server map tiles sorted on a folder structure like OpenStreetMap (OSM) uses. I need to be able to display these tiles, zoom in/out, pan and rotate the map. I wouldn't start from the scratch to create a new control. I've seen OsmDroid but I didn't find a way to set my own non vectorized tile source. I am open to any suggestions. I would first try to check out their source code to get an understanding of how they did it. Here is the link to their source codes. To be more precise I think that this is the file you are looking for. 来源: https://stackoverflow.com/questions/4793290

iphone tiling an image

那年仲夏 提交于 2019-11-29 04:10:38
问题 I have an image which is 1280 x 1664 and I want to use the ScrollViewSuite example that Apple gives us but I need to cut this image up to multiple zoom levels. So, does anybody know how I can tile an image at multiple zoom levels. There must be an easy way to tilling an image to 256x256 without cutting it by hand via photoshop? 回答1: great find. I did a bit of researching from what you found and I've managed to add the row and col to the output filename. I've also resized the image to what

How to get the original request url from a servlet/jsp after multiple servlet forwards

放肆的年华 提交于 2019-11-29 01:38:14
问题 I am working on a cruise booking app using struts/tiles that uses multiple internal servlet/jsp forwards to reach the right jsp for display. But, once you reach the final jsp that is used to render the page, the ${pageContext.request.requestURL} call in that jsp returns the path of this jsp. For example Original request: /booking/getCruiseDetails gets forwarded to: /booking/validateCruiseDeteails.jsp gets forwarded to: /booking/validateUser.jsp finally gets forwarded to: /booking

How to get X Y Z coordinates of tile by click on Leaflet map

半城伤御伤魂 提交于 2019-11-28 23:55:20
I want to ask for help to deal with the possible use of non-standard coordinates on the map Leaflet. I want to use Leaflet to display custom maps with my own tile generator. Tiles are generated on the fly by script, depending on where it is planned to display (parameters {x}, {y}, {z} in the URL request to the script) Map will be zoomable (from 0 to 10), size of ~16000 * 16000 tiles in maximum zoom, and 16 * 16 tiles in a minimum) and it will display a variety of objects, each object in a separate tile. Each tile of 64 * 64 pixels is the object on map. For each object (a square-tile) I want to

How can I make something like this? (Tiles inside the app) Windows phone

ε祈祈猫儿з 提交于 2019-11-28 17:57:06
I'm sorry if the question title wasnt clear, but I'm trying to make something like this, I dunno if they are tiles or images inside a WrapControl: I was thinking of making such thing with a wrap panel and each one of those blocks as a stackpanel. but I'm not sure if thats the right approach. is there a control to do such thing? Justin XL You are on the right track. WrapPanel is the way to go :) To make each block more interesting, you can take a look at the HubTile control from the latest windows phone toolkit . Whatever controls/panels you are using, just remember the size should be 173*173.

Is it possible to tile images in a UIScrollView without having to manually create all the tiles?

亡梦爱人 提交于 2019-11-28 17:14:27
问题 In the iPhone sample code "PhotoScroller" from WWDC 2010, they show how to do a pretty good mimmic of the Photos app with scrolling, zooming, and paging of images. They also tile the images to show how to display high resolution images and maintain good performance. Tiling is implemented in the sample code by grabbing pre scaled and cut images for different resolutions and placing them in the grid which makes up the entire image. My question is: is there a way to tile images without having to

Why would I use a templating engine? jsp include and jstl vs tiles, freemarker, velocity, sitemesh

二次信任 提交于 2019-11-28 15:10:36
I'm about to choose to way to organize my view (with spring-mvc, but that shouldn't matter much) There are 6 options as far as I see (though they are not mutually exclusive): Tiles Sitemesh Freemarker Velocity <jsp:include> <%@ include file=".."> Tiles and Sitemesh can be grouped; so can Freemarker and Velocity . Which one within each group to use is not a matter of this discussion, there are enough questions and discussions about it. This is an interesting read , but can't quite convince me to use tiles. My question is - what do these frameworks give that can't be properly done with <@