Raul Ochoa
72a0c4a487
New sendResponse and sendError methods
...
- fixes response for static named map error cases
2015-09-16 01:36:51 +02:00
Raul Ochoa
fba5a35514
Move sendResponse and sendError to response object
2015-09-15 19:28:02 +02:00
Raul Ochoa
2ac228359f
Fallback to image/png header
2015-07-31 12:23:36 +02:00
Raul Ochoa
722705468f
Not adding surrogate keys for empty affected tables
2015-07-14 20:53:26 +02:00
Raul Ochoa
07c920bad5
Use named map provider cache to retrieve providers
2015-07-14 20:53:06 +02:00
Raul Ochoa
4aabe9d946
Named maps controller adding cache headers
...
This requires a cache for affected tables as it is hitting db for
every request right now
2015-07-14 20:10:55 +02:00
Raul Ochoa
7247b20686
Unify sendResponse in named maps controller
2015-07-14 17:34:05 +02:00
Raul Ochoa
c295584864
Cache channel now in layergroup controller
...
Internal cache channel dbname+layergroupid cache must be unified in layergroup
and map controllers
Removes sendWithHeaders
2015-07-14 11:55:49 +02:00
Raul Ochoa
316f08df08
named maps tiles sending tile headers
2015-07-13 11:53:23 +02:00
Raul Ochoa
f9554ec761
Re-enable render limits
2015-07-10 19:10:55 +02:00
Raul Ochoa
9bece712a9
Splits controllers and supports after layergroup creation actions
2015-07-10 11:24:32 +02:00
Raul Ochoa
579cabdc1a
Initial refactor of layergroup creation
2015-07-10 01:30:38 +02:00
Raul Ochoa
5aad624346
NamedMaps controller using NamedMapMapConfigProvider
...
PreviewBackend with format param
2015-07-09 18:47:21 +02:00
Raul Ochoa
23d1109910
Adds named maps mapconfig provider
...
starts using it in named map instantiation
2015-07-09 14:39:25 +02:00
Raul Ochoa
ae2a72a810
Fix named maps controller using MapStoreMapConfig
2015-07-09 13:37:00 +02:00
Raul Ochoa
1737cbe1a5
Unifies named map instantiation so it's easy to work on it
2015-07-08 15:50:59 +02:00
Raul Ochoa
c81048312d
Context with user
2015-07-08 15:34:46 +02:00
Raul Ochoa
fa84813a37
Manage cors with a middleware
2015-07-08 13:27:56 +02:00
Raul Ochoa
8cd3807100
Split named maps administration from instantiation/usage
2015-07-08 13:11:57 +02:00
Raul Ochoa
aa266f9b61
Improve authorizedByAPIKey
2015-07-06 03:19:56 +02:00
Raul Ochoa
8e4e458a2a
fix jshint
2015-07-06 02:08:56 +02:00
Raul Ochoa
2d3f2667ca
Standalone server initial implementation
...
- no dependency over Windshaft.Server
2015-07-04 20:41:22 +02:00
Raul Ochoa
034f3c77ce
modifies controllers to use new mapbackend signatures
2015-07-02 02:02:22 +02:00
Raul Ochoa
5a003a7cbe
Initial/dummy implementation for named maps tiles
...
Issues:
- creates a layergroup per tile:
- trigges a mapview
- extracts each time affected tables and last update
- duplicates a lot of code from NamedStaticMapsController
- keeps relying on fake request concept
2015-06-30 15:41:57 +02:00
Raul Ochoa
d13d107aea
Adds names to functions
2015-06-29 19:18:52 +02:00
Raul Ochoa
4f87796e9c
Uses backend-foundations branch to use createLayergroup from backend
2015-06-29 18:58:58 +02:00
Raul Ochoa
098ed6b203
New endpoint for named maps tiles
2015-06-29 16:39:35 +02:00
Raul Ochoa
c6f9152efe
Moves template maps to backends directory
2015-06-29 16:38:13 +02:00
Raul Ochoa
eaccd062d3
Adds layergroupid header
...
Closes #311
2015-06-18 01:13:33 +02:00
Raul Ochoa
68c70effec
Named maps returning errors=>Array
instead of error=>String
2015-06-05 13:38:38 -04:00
Raul Ochoa
5ee19cc2ed
Rename template maps controller to named maps to be more clear
2015-04-27 15:01:49 +02:00