Commit graph

26 commits

Author SHA1 Message Date
364b4ddc32
Remove click timeout on MapLocator
This was added to try to fix scrolling passed the map on phones.
Instead, it just confuses click-and-drag. Instead we rely on the
lock/unlock overlay for the map to make scrolling passed work.
2026-04-29 15:58:57 +00:00
3867737fcc
Track camera changes during map load
This is necessary so that we can frame the map at any time in client
code, like with the user's location data, and still end up with the
correct location.
2026-04-27 19:44:25 +00:00
963254973b
Move map-utils into map/
Namespacing matters
2026-04-23 23:31:50 +00:00
1d266c88c1
Fix initial view of markers on map load
The issue here was that "fitBounds" doesn't work before the map is
loaded, we have to use the map constructor to set the location.
Therefore it makes no sense to even attempt these operations internally
before loading.
2026-04-22 22:43:16 +00:00
b85deb229f
Improve padding for multiple marker points 2026-04-17 03:07:16 +00:00
e1f3c93a1d
Make it possible to click on either map to choose a pool 2026-04-16 04:47:41 +00:00
a9077b6c36
Fix framing locations on the map display 2026-04-16 03:46:56 +00:00
aa5a35b15f
Create option to use satellite imagery
Useful for looking at pools
2026-04-16 02:47:11 +00:00
b805374a6c
Fix not panning to location when map is loaded 2026-04-14 02:02:34 +00:00
6e1a5b4348
Avoid jumping to empty camera location 2026-04-14 01:45:04 +00:00
92f4282674
Track map loading, frame markers when map is loaded
This prevents missing the marker framing because we are still loading
the map.
2026-04-13 16:59:59 +00:00
0f94292ab7
Fix zoom in when we load existing report data 2026-04-13 15:22:50 +00:00
0297114faf
Remove unnecessary null coalesce 2026-04-13 15:14:48 +00:00
12aedaf543
Update the address when provided on a report 2026-04-10 20:30:22 +00:00
c48aebcb0b
Set initial camera based on location in compliance 2026-04-10 14:20:04 +00:00
97acdb0e2c
Prevent the lock button from floating over address suggestion 2026-04-10 13:47:00 +00:00
9dccd21cee
RMO frontend checkpoint
* Create a nwe AddressAndMapLocator which abstracts out the behavior of
   selecting a location
 * Fix the overlay causing render errors on the MapLocator by getting
   rid of the overlay and just using a lock indicator
 * Fix MapLocator zooming in to the wrong place by not framing the
   markers
 * Remove Latlng from platform and just use Location with optional
   accuracy
 * Use nested types with form-encoded POST
 * Fix styles on water report page
2026-04-09 17:21:35 +00:00
765b8fbef7
Better overlay logic for clicking on map controls 2026-04-08 14:25:47 +00:00
8e536d1d2f
Add map overlay for phone interactions 2026-04-08 14:11:30 +00:00
9ef6aaa406
Remove direct calls to stadia API from geocoding 2026-04-06 16:59:19 +00:00
beb6d9d066
Better zoom to location on address selection 2026-04-03 23:11:39 +00:00
e08f614d11
Make the locator model a camera, not just a location
That means we can track zoom
2026-04-03 22:42:50 +00:00
10e368c403
Get initial nuisance and water resources working
This is a straight port of the form-encoded POST submission logic.

It is missing a bunch of data.
2026-04-03 22:04:22 +00:00
07e48aa071
Zoom when an address is provided or the map is clicked 2026-04-03 20:29:30 +00:00
9104e2f7c3
Start map with default framing on nuisance page 2026-04-03 20:01:23 +00:00
27fd1faa9c
Get clean-building locator map 2026-04-03 19:45:12 +00:00