Public-Tree-Map / public-tree-map

Public Tree Map documents all ~35,000 public street and park trees in Santa Monica's urban forest. The map includes contextual information collected from open datasets and digitized city records. To reflect tree plantings and removals, the map updates every day. We're also working to add tree data from other cities in LA county. Work in progress:
https://publictreemap.org
MIT License
43 stars 44 forks source link

resolve location feature bug #278

Closed emillipede closed 4 years ago

emillipede commented 4 years ago

there's a problem with the GPS location and or bounding box.

the "outside SM" error appears when users are within the city

last night when I went for a walk, I was at this corner. I tried to test the location feature, and the message popped up 515C2FDD-E743-4F2E-B3B9-6A9CAFCB7EB6

i also tried the algolia location feature, which seems to constantly refresh. that doesn't allow users to move/adjust the map view. (the algolia one also doesn't yet drop a marker onto the map, which is a requested feature).

I'd like to offer (just) one functional option - either the location feature within the algolia address bar (or the location button). in either case, the design recommends putting the icon in the toolbar.

we could disable the bounding box, and I can test it again (to see where the map locates me). I'd like to know if gps function of the button isn't glitchy (it seems to work around my apartment), or if there's a problem with the bounding box.

mrtmrt233 commented 4 years ago

So I've poked around a bit, and looks like the address bar is working correctly.

Location button is not working with all browsers in iOS (tried safari, firefox, chrome), but no issue on desktop with mobile sized window. I have some ideas to try out.

emillipede commented 4 years ago

Thank you @mrtmrt233 !

The location button within the address bar (the one that's part of algolia places) doesn't drop a marker to indicate and follow the user's location. The location button at the bottom right corner does drop a marker. Do you think it's possible to add the user marker feature to the algolia location button?

emillipede commented 4 years ago

@cajaks2 suggests removing the location/bounding box/pop up.

how to remove the location icon from algolia places bar?

mrtmrt233 commented 4 years ago

@emillipede @cajaks2

emillipede commented 4 years ago

thank you for following up @mrtmrt233 !

address bar:

bounding box: