Opened 14 years ago
Last modified 12 years ago
#332 new enhancement
permit to use TMS layers as baselayers
Reported by: | landry | Owned by: | gagan2u2002 |
---|---|---|---|
Priority: | minor | Milestone: | v2.8.0 |
Component: | Web Map Viewer | Version: | v2.6.0 |
Keywords: | tms scales units | Cc: |
Description
So far we can only use WMS layers as baselayers in mapViewer.. this is great but slow with complex map/photo layers. For performance reasons it'd be great if we could use TMS layers too with fixed scales, and then also decide the scale/unit of the whole ol map.
Maybe smth like
<mapViewer> <scales>x,y,z</scales> <units>m</units> <layers> <layer type=TMS server=tmsurl options="{ layername: 'ortho', type: 'jpeg'}"/> <layer type=WMS server=wmsurl params="{ layername: 'commune', format: 'image/png'}" options="{isBaseLayer:false}"/> <layers> </mapViewer>
If there's any interest into that enhancement, maybe i can try to implement it...
Attachments (1)
Change History (4)
by , 14 years ago
Attachment: | gn-add-tms-scales-units.diff added |
---|
comment:1 by , 14 years ago
Keywords: | tms scales units added |
---|
comment:2 by , 13 years ago
Owner: | changed from | to
---|
comment:3 by , 12 years ago
Milestone: | v2.7.0 → v2.8.0 |
---|
Note:
See TracTickets
for help on using tickets.
Find attached a conceptual diff (untested, but you get the idea) to implement units/scales and tmslayer config keys. It includes examples/documentation. To be discussed: