Open PazDak opened 4 years ago
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, I do have a python function that can convert it a series of Lat and Long addresses. I just confirmed that Google Maps and Leaflet both let you send the encoded directly to them though.
Would it be better to just store the extended version of [{lat,long}...] ?
I just confirmed that Google Maps and Leaflet both let you send the encoded directly to them though.
@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 notifications@github.com 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 https://github.com/sghaskell/maps-plus/issues/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
C@nAEfC?z@CrBCv@BdACh@BnAG
FCnAChAB~@EX@xC?v@Ar@GfAAdQFtR@h@GLEl@e@Xa@Vs@Zq@JOd@a@PEJDBD@PEnB@~CElCEx@BHZZXJRA^InAe@^ErA?~AF~EHdDEjCHjACXBxC@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|DCFANIZWnBiAd@@~BqAnBoAZ]\q@tCcKVg@X_@CqAxDaCz@a@n@c@XMzFmDh@W
@MJ?HBZX~CtDx@vA`@bAdAxCnFhP^~@d@r@x@~Al@v@FABGLm@@ADFB?JEZu@