PfisterDaniel / node-red-contrib-apple-find-me

Node to get the current locations and other metrics of connected Apple devices.
MIT License
23 stars 5 forks source link

maps #21

Closed regissg closed 2 years ago

regissg commented 2 years ago

OpenStreetMap map is empty despite the fact that there is localisation data in the Locate_my_Device payload.

Is there a specific action to activate the map?

PfisterDaniel commented 2 years ago

Have you tested a other Map eg. HereMaps (is my favorite) or GoogleMaps?

regissg commented 2 years ago

I have just registered to HereMap but I am not sure where to find the API-Key?

PfisterDaniel commented 2 years ago

Go to developer.here.com image Click on your Account (Top right) and now to Projects

Now you click on your Project image

Here you can create an API-Key image

That's it... ;-)

regissg commented 2 years ago

Thanks Daniel.

I was able to create the Here API. I have added to the node but still no success in showing a map as you could see below.

De : Daniel Pfister @.> Envoyé : Wednesday, January 19, 2022 12:20 PM À : PfisterDaniel/node-red-contrib-apple-find-me @.> Cc : regissg @.>; Author @.> Objet : Re: [PfisterDaniel/node-red-contrib-apple-find-me] maps (Issue #21)

Go to developer.here.com https://developer.here.com https://user-images.githubusercontent.com/9358627/150119334-d3df065f-5593-41ab-8d2a-76abfe81d56a.png Click on your Account (Top right) and now to Projects

Now you click on your Project https://user-images.githubusercontent.com/9358627/150119588-d9ba68bb-7f23-4df3-ba55-ba5d6e118ad7.png

Here you can create an API-Key https://user-images.githubusercontent.com/9358627/150119842-37ddb444-5ede-4b02-9ccc-0e41decb5673.png

That's it... ;-)

— Reply to this email directly, view it on GitHub https://github.com/PfisterDaniel/node-red-contrib-apple-find-me/issues/21#issuecomment-1016357838 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVLPMWBN764DHCSBSKJKN3UW2M6ZANCNFSM5MFLGWFQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AEVLPMRYBW26VMA6FREEHN3UW2M6ZA5CNFSM5MFLGWF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHSKGHTQ.gif Message ID: @. @.> >

PfisterDaniel commented 2 years ago

Sorry, I can't see anything

You don't get a map from the node, only a link to a map is comming as node result.

HereMaps is only using to get the Address. If you want see the device on a map you must use the device -> locationInfo -> osmUrl or googleUrl...

Here: "osmUrl":""https://www.openstreetmap.org/index.html?lat=40.968675&lon=-72.186640&mlat=40.968675&mlon=-72.186640&zoom=15&layers=M" or "googleUrl":"https://www.google.com/maps/place/40.968675+-72.186640/@40.968675,-72.186640,15z"

regissg commented 2 years ago

Ok, I get it know and it works well.

Sorry for my confusion and thanks for your help and your great work.

Regards

Régis

De : Daniel Pfister @.> Envoyé : Wednesday, January 19, 2022 3:24 PM À : PfisterDaniel/node-red-contrib-apple-find-me @.> Cc : regissg @.>; Author @.> Objet : Re: [PfisterDaniel/node-red-contrib-apple-find-me] maps (Issue #21)

Sorry, I can't see anything

You don't get a map from the node, only a link to a map is comming as node result.

HereMaps is only using to get the Address. If you want see the device on a map you must use the device -> locationInfo -> osmUrl or googleUrl...

Here: "osmUrl":""https://www.openstreetmap.org/index.html?lat=40.968675 https://www.openstreetmap.org/index.html?lat=40.968675&lon=-72.186640&mlat=40.968675&mlon=-72.186640&zoom=15&layers=M &lon=-72.186640&mlat=40.968675&mlon=-72.186640&zoom=15&layers=M" or @.***,-72.186640,15z"

— Reply to this email directly, view it on GitHub https://github.com/PfisterDaniel/node-red-contrib-apple-find-me/issues/21#issuecomment-1016514702 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVLPMTLGWZUEH7DT6VOZV3UW3CPDANCNFSM5MFLGWFQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AEVLPMXJCRJKZKPYS5ZEXITUW3CPDA5CNFSM5MFLGWF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHSLMRDQ.gif Message ID: @. @.> >