SalesforceLabs / AnimalShelterStarter

Animal Shelter Starter provides the foundation to use Salesforce for managing animals, treatments, conditions, housing and related activities.
16 stars 10 forks source link

Geolocation Capability #13

Closed cjrolfe closed 3 years ago

cjrolfe commented 4 years ago

Ability to capture Geolocation of incoming animal Possible new Movement process for Animal Release with Geolocation

GeekStewie commented 4 years ago

Nice component here: https://live.playg.app/play/lwc-to-set-geolocation-to-any-object

cjrolfe commented 4 years ago

I've tested that component, and even got them to fix it to work on a mobile device. So possible enhancement to Animal Object for Geolocation field and component to populate.

Wonder if we could add a map snippet as well similar to the small Google Map for address.

Also add additional location type of animal released for Wildlife centres, which could store the geolocation

GeekStewie commented 4 years ago

https://developer.salesforce.com/docs/component-library/bundle/lightning:map/example#lightningcomponentdemo:exampleMapSingleMarker

GeekStewie commented 3 years ago

@cjrolfe Like the functionality, although if I were to suggest some enhancements:

Other Notes/Changes

GeekStewie commented 3 years ago

https://www.lightningdesignsystem.com/components/cards/

cjrolfe commented 3 years ago

@GeekStewie QQ When you looked at the map, did you have a map on the left, and on the right a list of the animals being displayed, as per attach image? This is what it should look like (from my Dev Org), but in a scratch org I don't get the list, but the code is the same??? Map Layout

GeekStewie commented 3 years ago

@cjrolfe I only get the map with no list