BrianBunker / cmv-widgets

Widgets based on the Esri jsapi, configured for the Configurable Map Viewer. Widgets include Drag and Drop, Goto, Map Navigation Hash, and Nearby.
https://brianbunker.github.com/cmv-widgets
MIT License
18 stars 24 forks source link

Add another coordinate system ? #52

Open mayur9785 opened 4 years ago

mayur9785 commented 4 years ago

Hi Brian, I have this tool added in my app, It is working fine. I would like to add one more coordinate system (QND 1995) option and zoom to coordinates. I tried to look into Coordtypes.js file but couldn't get it. Is there way to add another coordinate system to widget like below ?

WKID : 2932 NAME : QND_1995_Qatar_National_Grid

SPATIAL REFERENCE INFO :

PROJCS["QND_1995_Qatar_National_Grid",GEOGCS["GCS_QND_1995",DATUM["D_QND_1995",SPHEROID["International_1924",6378388.0,297.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000.0],PARAMETER["False_Northing",300000.0],PARAMETER["Central_Meridian",51.21666666666667],PARAMETER["Scale_Factor",0.99999],PARAMETER["Latitude_Of_Origin",24.45],UNIT["Meter",1.0]]

Thanks, Mayur

BrianBunker commented 4 years ago

Mayur, I'm glad you're finding value in this widget. It is not under active development and hasn't been for a few years now. I'm unsure what would need to be changed to add the QND 1995 coordinate system and currently do not have the bandwidth to take this on. If you or anyone else would like to make this work, I will review and accept a pull request.

mayur9785 commented 4 years ago

HI Brian, Thanks for your quick response on this. My client needs to have QND 1995 coordinate system option. It will be great if you can look into this.

Thanks, Mayur