Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

tilelayers with regional srid

ToM_PLApr 10 2017 — edited Apr 10 2017

Hi,

I try to work with tilelayers, and when OM. works with SRID 2180 tile map are not visible, what should i do to use for example OpenStreetMap? without TileLayers(addMapThemes) all works fine.

part of code:

  function showMap()

  {

        map = new OM.Map(

          document.getElementById('map'),

          {

            mapviewerURL: baseURL,

            universe: new OM.universe.Universe(

            {

                srid : 2180

  , bounds : mBoundingRect

  , numberOfZoomLevels: 11

            })

          }) ;

        

  addSqlVectorThemes();

  addMapThemes();

....

  function addMapThemes()

  {

/*        layer = new OM.layer.ElocationTileLayer("vLayer_MAP");*/

        layer = new OM.layer.OSMTileLayer("vLayer_MAP");

        layers["vLayer_MAP"] = layer;

        map.addLayer(layer) ;

   }

  function addSqlVectorThemes()

  {

  createLineStyles();

        layerLink = new OM.layer.VectorLayer("vLayer_LINK",

        {

            def:

                {

                type:OM.layer.VectorLayer.TYPE_JDBC,

....

Regards,

Tomek

This post has been answered by Honglei Zhu-Oracle on Apr 10 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 8 2017
Added on Apr 10 2017
2 comments
194 views