-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encoded PolyLine #15
Comments
Hi @PazDak - Thanks for filing this ER. Let me look into what it would take to support encoded Polylines and I'll update this as I get more info. |
Thanks, Would it be better to just store the extended version of [{lat,long}...] ? |
@PazDak - Where in the docs did you see Leaflet natively supports encoded polyline? I don't see it mentioned anywhere in their docs. The only support I see for it is through the Leaflet.encoded plugin. |
Looks like I misspoke. I was watching a video on it and didn't realize the
author decoded the polyline to before passing it to leaflet.
…On Wed, Jan 8, 2020 at 10:48 AM Scott Haskell ***@***.***> wrote:
I just confirmed that Google Maps and Leaflet both let you send the
encoded directly to them though.
@PazDak <https://github.com/PazDak> - Where in the docs did you see
Leaflet natively supports encoded polyline? I don't see it mentioned
anywhere in their docs
<https://leafletjs.com/reference-1.6.0.html#polyline>. The only support I
see for it is through the Leaflet.encoded
<https://github.com/jieter/Leaflet.encoded> plugin.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15?email_source=notifications&email_token=AELWCJ775773TYWKWTE42UTQ4X7UJA5CNFSM4KCGVX42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEINGWHI#issuecomment-572156701>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AELWCJ6O4WEZHIKZ4WQSDDLQ4X7UJANCNFSM4KCGVX4Q>
.
|
Fitness applications tend to use an Encoded Poly line to represent mapping and path data in a very compressed format. Leaflet, openmaps, and google have the capability to interact with encoded poly_line. I do not see a way to map that data from within Splunks Maps+
For instance this map would be generated with the below encoded PolyLine and a starting Lat Long or MGRS grid system.
https://developers.google.com/maps/documentation/utilities/polylineutility
lat = 45.08 long =-93.27
_qbrGjngxPlIElCE?h@Jf@Ej@?pAEn@?j@Fn@?hAIj@?TBRH\DlB?TEn@Yn@IrOIjEKn@DtF?l@B|D?v@CjCBvDCjG?r@@t@AxC?~C@dGErZ@zECdB?
GKt@BdA?l@Cn@@d@CR@XEbB?|AKt@Bf@Ch@?NBpBCf@BhBE@ex@xC?v@Ar@GfAAdQFtR@h@GLEl@e@Xa@Vs@Zq@JOd@a@PEJDBD@PEnB@C@nAEfC?z@CrBCv@BdACh@BnAG
FCnAChABCElCEx@BHZZXJRA^InAe@^ErA?@d@r@x@~Al@v@FABGLm@@adfb?JEZu@AFEHdDEjCHjACXBxC@f@DjAAr@Bz@?RIZ]JAtI?r@Cr@?jACzBB|@b^Gz@A@@jB?l@BzLAZEb@AnJ@n@ArAITBRJDHF\?|CDLFJJDHBpBBrAAfCH
KCjBEn@GnA@r@DVDrBATCtE?b@EVKd@[@OrAaAj@Yr@g@l@_@VIr@k@ZKLFHP\vAVh@ZhADHFDF?rA_Ab@Kp@W~EwCRQvC_BzDaCJE|D_CFANIZWnBiAd@_@~BqAnBoAZ]\q@tCcKVg@X_@
CqAxDaCz@a@n@c@XMzFmDh@W@MJ?HBZX~CtDx@vA
@bAdAxCnFhP^The text was updated successfully, but these errors were encountered: