Questions tagged [layer]

This tag is ambiguous. Consider using more specific tags to better reflect the question's content.

This tag is ambiguous. Consider using more specific tags to better reflect the question's content.

If the question relates to Geographic Information Systems, consider whether the question is better suited to the GIS Stack Exchange.

2129 questions
8
votes
3 answers

IOS: Is possible to rounder radius with different value in each corner

I want to rounder my UIView with the value like that top-left-radius:20; bottom-right-radius:5; bottom-left-radius:5; and top-right-radius:10; //For rounder `UIRectCornerBottomLeft & UIRectCornerBottomRight` I use UIBezierPath *maskPath0 =…
Linh
  • 57,942
  • 23
  • 262
  • 279
8
votes
1 answer

ATLAddressBarViewController.h not found in Atlas.h

I am trying to run https://github.com/kwkhaw/quick-start-ios-swift this project. But facing this error while compiling the code.
Nishant Dongare
  • 549
  • 3
  • 16
8
votes
1 answer

Grails - the use of service layer

I have problems in organizing my code when I want to update a non-simple domain object. The problem is to separate responsibilities for the controller and the service layer. More explicitly, assume that we have a domain class Client that depends on…
Per-Henrik
  • 81
  • 1
8
votes
1 answer

Deploy a Docker image without using a repository

I'm building a Docker image on my build server (using TeamCity). After the build is done I want to take the image and deploy it to some server (staging, production). All tutorials i have found either push the image to some repository where it can…
tillda
  • 18,150
  • 16
  • 51
  • 70
8
votes
1 answer

show/hide layers in d3.js

First of all: I'm new to d3.js! I have a map and some points displayed on it. Now I want to add buttons to show/hide the points. What I have until now: function checkAll(){ d3.selectAll("g").attr("visibility", "visible"); } function…
user3346326
  • 137
  • 1
  • 7
8
votes
2 answers

Why this command in ggplot is returning an error?

I'm learning ggplot2 and I don't understand why this doesn't work : p <- ggplot(diamonds, aes(x = carat)) p <- p + layer( geom = "point", stat = "identity" ) p Error in as.environment(where) : 'where' is missing Do you know why?
Wicelo
  • 2,358
  • 2
  • 28
  • 44
8
votes
2 answers

Dropdown menu, z-index problems

I've got a problem. I have a drop down menu, but the drop down list is always one layer behind the body although the z-index of menu is set to 999 and z index of body set to -999 Please chceck http://www.w3dominik.com/x/finemoney/ (the menu on top…
user1505027
  • 323
  • 2
  • 8
  • 14
8
votes
1 answer

In which layer implement the cache?

I'm developing a Rest API using Service Stack's framework. All layers are separated so we can make DAL mocks for business logic layer unit testing. I'm configuring the cache with inversion of control: container.Register(new…
Junior Suzuki
  • 81
  • 1
  • 3
8
votes
2 answers

Spring security securing the service layer, the web-service layer or both?

I have an API which I'm exposing via REST and I'm deliberating about where to place the authorities restrictions. I've read that there is a best practice about securing the service layer as it is the one doing the work and you don't know where it's…
Ittai
  • 5,625
  • 14
  • 60
  • 97
7
votes
3 answers

2D engine with OpenGL: Use Z buffer or own implementation for sprite sorting?

If I was making a 3D engine, the answer to this question would be clear: I'd go for using the depth buffer instead of thinking of sorting all my polygons on my own. However, this is a different situation with 2D, because here layers can be…
KLa
  • 71
  • 1
  • 2
7
votes
2 answers

How to make a LayerDrawable (layer-list item) invisible on Android?

I have defined a layer-list with a couple of items on an xml file. The items are displayed o.k. I want every five second or so one of the layers to become invisible. It works o.k. for a simple textview for example but not for the Layer inside the…
dr.doom
  • 480
  • 1
  • 6
  • 17
7
votes
2 answers

How to enable/disable a particular bbappend for a specific MACHINE in Yocto

I'm trying to understand the mechanism Yocto provides to enable/disable a particular bbappend for a specific MACHINE. I read this link (Modifying Variables to Support a Different…
aicastell
  • 2,182
  • 2
  • 21
  • 33
7
votes
3 answers

Spring, Hibernate, Java EE in the 3 Tier architecture

I need to get a start as to where I put those technologies in the 3 Tier architecture: This is what I have... presentation layer: HTML, JSP app. layer: Java EE, Spring data access layer: Hibernate, PostgreSQL database
tzippy
  • 6,458
  • 30
  • 82
  • 151
7
votes
2 answers

Caffe layer creation failure

I'm trying to load in TEST phase a network configuration which has a memory data layer first and then a convolution layer. The MemoryData layer creation succeeds, But the convolution layer's creation fails at the following location: LOG(INFO) <<…
rkellerm
  • 5,362
  • 8
  • 58
  • 95
7
votes
0 answers

Changing property magnificationFilter in transform-only layer, will have no effect?

During transitions from view controllers (flip horizontal style) I received the following output in log: <_UIFlippingLayer: 0x1453a8e0> - changing property magnificationFilter in transform-only layer, will have no effect What is it about? Hot to fix…
user3755290
  • 263
  • 2
  • 11