Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

myposition.js trailing comma #1097

Open
acoiman opened this issue May 28, 2016 · 2 comments
Open

myposition.js trailing comma #1097

acoiman opened this issue May 28, 2016 · 2 comments

Comments

@acoiman
Copy link

acoiman commented May 28, 2016

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 ?

@acoiman
Copy link
Author

acoiman commented May 30, 2016

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 [email protected]
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//issues/1097#issuecomment-222347780, or mute the threadhttps://github.com/notifications/unsubscribe/ASmoWNB5nqNxw0PBBucf-nm3nma5E15zks5qGUX6gaJpZM4IpJ9J.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants