Hello! I am from Singapore and currently trying out Arches on a Win64 
machine.

I would like to ask how to go about adding a basemap from my local map 
system here - http://www.onemap.sg/api/help/

I understand it requires configuring the javascript file "base-layers.js".

Can someone enlightenment me if the configuration/code below is correct?

    baseLayers.push({
         id: 'onemap',
         name: 'OneMap Basemap',
         icon: arches.urls.media + 'onemap.gif',
         layer: new ol.layer.Tile({
             visible: false,
             source: new ol.source.OneMap({
                 url: 
'http://www.onemap.sg/API/services.svc/getMap?token=qo/s2TnSUmfLz+32CvLC4RMVkzEFYjxqyti1KhByvEacEdMWBpCuSSQ+IFRT84QjGPBCuz/cBom8PfSm3GjEsGc8PkdEEOEr&bmap=sm&size=&level=&center=&lyrIds='
             })
         })
    }); 
 

Best,
Chun

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to