How to use Lunaserv with OpenLayers3?

30 views
Skip to first unread message

Tamar Cohen

unread,
Oct 27, 2015, 8:13:10 AM10/27/15
to Lunaserv
Hi all --

I'm doing some prototyping with OpenLayers3, and I'd like to use the Lunaserv WMS as the basemap. 
I have OL3 set to use a south pole stereographic projection(IAU2000:30120).

I'm having trouble getting anything rendering from Lunaserv.  Here is my layer:

new ol.layer.Tile( {

        name: "asu_basemap",

extent: [-992800, -992800, 992800, 992800],

    source: new ol.source.TileWMS({url:'http://wms.lroc.asu.edu/lroc',

    params: {'projection': 'SP_STEREO'

//     'c_lon': -14.192, 

//     'c_lat':-86.33,

    'c_lon': 0,

    'c_lat': 0,

    'x':0, 

    'y':0, 

    'resolution':3474.8, 

    'LAYERS':'LUNA_WAC_GLOBAL'},

                            projection: ol.proj.get(DEFAULT_COORD_SYSTEM)

Reply all
Reply to author
Forward
0 new messages