Unsolved

Custom CRS not respecting map display (Geospatial Portal SDK Javascript API)

Comments: 2 - Last Comment by mohanbabu on Jun 14, 2016   Comment Filter:
Posted on Jun 8, 2016
 
 

Hi,

I have custom CRS EPSG:900015 for which I have created CRSConfig file and copy pasted in WEBMAP "CommonFiles/Hexagon/CSFStore" folder also I verified GIS WFS/WMS services capabilities it is showing correctly assigned EPSG:900015.

But when I register custom CRS and load these GIS services through Geospatial Portal SDK Javascript API it is not loading/displaying map rather not respecting map. Same registering CRS and load GIS services if I perform manually through Geospatial portal instance "Settings" panel it works perfectly (means map is getting displayed with custom CRS)

I don't know where I am going wrong or missing anything or it's a bug in Geospatial Portal SDK Javascript API)

I am using SQL server 2012 professional

Code Snippet used for registering and setting CRS:

var targetCode = "EPSG:900015";
$GP.crs.register({    
   code: targetCode,
}, function(result) {
   var first = result.crsIds[0];
    $GP.crs.setCurrent({
        code: first,
    }, function (result2) {
        $GP.ui.info("CRS changed");
    });       
});

If anyone knows whatz wrong or missing please help me in that...

Thanks & Regards,

Mohanbabu

Point your RSS reader here for a feed of the latest messages in this topic
RE: Custom CRS not respecting map display (Geospatial Portal SDK Javascript API)
Posted on Jun 8, 2016 in response to: mohanbabu
 
   
 

Can you please confirm the product that you are using here? I was trying to make sure that you are using NetWorks Portal and Intergraph NetWorks product.

RE: Custom CRS not respecting map display (Geospatial Portal SDK Javascript API)
Posted on Jun 14, 2016 in response to: vspasupu
 
   
 

Hi vspasupu,

I am using Geomedia Webmap and Geospatial Portal Javascript API version 15 and EP05

Thanks & Regards,

Deepak Chaudhari


Add a Comment

Please sign in on the right menu to comment.  If you do not have an account, please Join now.