Hey guys,
Iโm building an app with a map view. For some reason, when I click on the map icon it opens in some random location instead of opening close to where I am at the moment.
My location settings are turned on and appsheet is allowed to use my location.
What should I do in order to either create a button to zoom in my current position or to automatically open the map close to me??
Thanks!!
Are you looking at it on your phone or in the editor on your PC?
Iโve seen it open to some random location when using the editor on PC before, but seems to act correctly when on a phone.
Iโm using it on my phone, thatโs why it seems so strange.
I am looking at the same issue.
It seems that it positions the map based on the Long-Lot of the 1st row.
How to position the map based on the phone GPS? with HERE() for example?
The System Generated โView Mapโ shows
Target
App link target = CONCATENATE("#page=map&table=398%20Store%20Que&mapcolumn=Long%20-%20Lot&row=", ENCODEURL([_THISROW]))
All views are intended to display table data. I doubt thereโs a way to plot and center on an arbitrary point (like HERE()
).
What you could try (I havenโt tested) is creating a small table with one row and two columns: one column is the key, the other a virtual column with an app formula of HERE()
. You could then use this small table as the mapโs primary data table and the other table to be mapped as the secondary data table.
Steve
When I use the (+) button to add a new row on a Map View, it brings the Form View and there when I lick the Map View it positions the map at my GP location.
I want to replicate the same in Map View - to show the map with row locations relative to phone GPS location.
I donโt think thatโs possible.
All views are intended to display table data. I doubt thereโs a way to plot and center on an arbitrary point (like
HERE()
).
What you could try (I havenโt tested) is creating a small table with one row and two columns: one column is the key, the other a virtual column with an app formula of
HERE()
. You could then use this small table as the mapโs primary data table and the other table to be mapped as the secondary data table.
Unfortunately this ends up zooming out to show all of the secondary data. Great for a summary โฆ junky if you a zoomed in view is actually what you want.
Any sample Appsheet app out there that always positions the map relative to your GPS location?
Iโm trying to do this too. Seems the default behavior would be to zoom the map to the userโs current location. How can I set this up?
the same as I thought, for the application that I created, there are conditions where I or other users need quick access in a map view to show where my location is
At one time I thought this was default. I have a list of over 2,000 addresses mapped and when I used to pull up the map it would show me the closest 200 based on my current location. In the UX>Options tab under maps am able to adjust the number of locations. Now Iโve come back to the same app a few months later and the map opens on some random location (or maybe the first address in my table).
What changed?
Yes indeed it worked and my application also showed the current location when I clicked on the geosign. Then everything changed and in this thread they now write that this is not possible. Very strange. It worked! Why are the developers silent on this topic?
I opened a case and was told that this was never the behavior:
โAppSheet never supported a โcenter locationโ feature in Map view, the default behavior is to load all the locations and put them in the map.
However, when these pins are more than 200, AppSheet limit the view to the first 200 and this might generate the false idea that AppSheet is centering the map.โ
Which is clearly not true - I am hopeful that someone will dig in and figure out what has actually changed and fix this issue, but since theyโre actually denying it at this point idk if thatโs a pipe dream or whatโฆ
I have need for the same feature. I have sales teams around the country who want to see their location as they go out for the day. Itโs a major pain to zoom in every time.
Odd to not have this behavior since itโs a basic part of any map app Iโve ever used.
Maybe you could use this workaround:
User | Count |
---|---|
41 | |
36 | |
28 | |
23 | |
16 |