tiles

Windows Phone 7 Map Control with custom layer in offline mode

ぃ、小莉子 提交于 2019-12-01 01:32:27
问题 Hi WP7 mobile passionate developers! I'm trying to use the default provided Bing Map control from Windows Phone controls. Specifically I'm trying to use a custom TileSource to provide a custom made tiled map that will be stored in the project as a folder (Content files) or in isolate storage. Down I present the custom class I try to use with map tiles/images stored in "map" folder in ZXY storage format as content files. public class CustomTileSource : Microsoft.Phone.Controls.Maps.TileSource

Servlet page decoration: Do people use Tiles, Sitemesh, or something else?

。_饼干妹妹 提交于 2019-11-30 22:40:20
I've used Tiles and Sitemesh for a number of years and while I personally prefer the Sitemesh style page decoration, I generally don't see a lot of mention of Sitemesh or Tiles on the Internet. Do people use Tiles and/or Sitemesh actively, or are there other libraries that have taken over in this capacity? I use sitemesh since it is less invasive than tiles. However I think that tiles is generally used in conjuction with structs 1.x? We use Sitemesh, but I'm not a fan. We use the apply-decorator feature almost exclusively, in order to wrap one of our standard page layouts around the unique

Null ModelAndView returned to DispatcherServlet

纵饮孤独 提交于 2019-11-30 22:33:29
I'm trying to run my web application using Spring, Hibernate and Apache Tiles. It seems the code has no errors, but I'm just getting a 404 page. /var/log/tomcat7/catalina.out: DEBUG: org.springframework.web.servlet.DispatcherServlet - Servlet 'dispatcher' configured successfully DEBUG: org.springframework.web.servlet.DispatcherServlet - DispatcherServlet with name 'dispatcher' processing GET request for [/example/index.html] DEBUG: org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Looking up handler method for path /index.html DEBUG: org.springframework.web

Servlet page decoration: Do people use Tiles, Sitemesh, or something else?

旧街凉风 提交于 2019-11-30 17:59:37
问题 I've used Tiles and Sitemesh for a number of years and while I personally prefer the Sitemesh style page decoration, I generally don't see a lot of mention of Sitemesh or Tiles on the Internet. Do people use Tiles and/or Sitemesh actively, or are there other libraries that have taken over in this capacity? 回答1: I use sitemesh since it is less invasive than tiles. However I think that tiles is generally used in conjuction with structs 1.x? 回答2: We use Sitemesh, but I'm not a fan. We use the

Spring 3 MVC and Apache Tiles 2 Integration Error

ε祈祈猫儿з 提交于 2019-11-30 17:36:33
I have been trying to integrate Spring (3.0.4 and 3.0.5) MVC with Apache Tiles (2.1.2,2.1.4 and 2.2.2) to no avail. In every case i get the following error: java.lang.NoClassDefFoundError: org/apache/tiles/startup/BasicTilesInitializer According to the Tiles documentation, BasicTilesInitializer has been deprecated. I figured the latest version of Spring's TilesConfigurer would reference the correct class, but it doesnt and I still get the same error. I'm using the following configuration to setup Tiles in my spring mvc app: <beans:bean id="tilesConfigurer" class="org.springframework.web

How do I have common error page templates with tiles in a Spring/MVC 3.0 app?

℡╲_俬逩灬. 提交于 2019-11-30 17:26:24
I have a Spring MVC/3.0 app using tiles as it's view, this is working fine however I can't figure out how to get the error pages to also use tiles. I have in my web.xml <error-page> <error-code>404</error-code> <location>/WEB-INF/error/404.jsp</location> </error-page> which works fine as an ordinary view NOT using tiles, however when I change the location to one of the view names, the view is not found and renders the ordinary error page. My tiles.xml file for the view contains the following definition <definition name="404" extends="standardLayout"> <put-attribute name="body" value="/WEB-INF

Android custom control to display map tiles [closed]

早过忘川 提交于 2019-11-30 07:41:42
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . 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

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

守給你的承諾、 提交于 2019-11-30 06:59:45
问题 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

iphone tiling an image

梦想的初衷 提交于 2019-11-30 05:57:04
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? Peter 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 percentage I want the image to be. So I can now do it all from 1 large image. convert bigimage.png

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

对着背影说爱祢 提交于 2019-11-30 04:25:03
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/showCruiseDetails.jsp So, in /booking/showCruiseDetails.jsp when I call ${pageContext.request.requestURL} I get