Open acoiman opened 8 years ago
https://github.com/camptocamp/cgxp/blob/master/core/src/script/CGXP/plugins/Measure.js#L37-L41 and https://github.com/camptocamp/cgxp/blob/master/core/src/script/CGXP/plugins/MouseCoordinates.js#L39-L46 Our base template is like this: https://github.com/camptocamp/c2cgeoportal/blob/2.0/c2cgeoportal/scaffolds/create/%2Bpackage%2B/templates/viewer.js_tmpl
For the EPSG:32619 you should something like this: https://github.com/camptocamp/cgxp/blob/master/proj4js/EPSG2056.js
Ok, thanks for the information
One more question.
I'm trying to incorporate to my app the profile plugin
I´ve set up my code. The emerging window works well when I draw a line. However, it doesn't show a profile line.
I don´t know how you created the profile.json file.
I´m trying with countour lines derived from a SRTM transformed to .json by using ArcGIS, but it doesn't show a profile line.
My developer tool says that it can´t find the distance information.
Could you tell me how to create this .json profile file, please?
Thanks for helping me.
AC
De: Stéphane Brunner notifications@github.com Enviado: domingo, 29 de mayo de 2016 03:23 a.m. Para: camptocamp/cgxp Cc: Abraham Coiman; Author Asunto: Re: [camptocamp/cgxp] myposition.js trailing comma (#1097)
https://github.com/camptocamp/cgxp/blob/master/core/src/script/CGXP/plugins/Measure.js#L37-L41 and https://github.com/camptocamp/cgxp/blob/master/core/src/script/CGXP/plugins/MouseCoordinates.js#L39-L46 Our base template is like this: https://github.com/camptocamp/c2cgeoportal/blob/2.0/c2cgeoportal/scaffolds/create/%2Bpackage%2B/templates/viewer.js_tmpl
For the EPSG:32619 you should something like this: https://github.com/camptocamp/cgxp/blob/master/proj4js/EPSG2056.js
You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/camptocamp/cgxp/issues/1097#issuecomment-222347780, or mute the threadhttps://github.com/notifications/unsubscribe/ASmoWNB5nqNxw0PBBucf-nm3nma5E15zks5qGUX6gaJpZM4IpJ9J.
myposition.js in line 84 has a trailing comma. - https://github.com/camptocamp/cgxp/blob/master/core/src/script/CGXP/plugins/MyPosition.js#L84
Someone could explain me how to set up mesure.js and mousecoordinates.js in order they show EPSG:32619 coordinates, please?
Quelqu'un pourrait m'expliquer comment configurer les plugins mesure.js et mousecoordinates.js , pour qu'ils montrent des coordonnes on EPSG:32619 , s'il vous plaît ?