If you want to customize the base layer of your map view, consider ‘XY’ column types. When the column type is marked as ‘XY’ you’ll see the option in your column definition to link to a hosted image (that will serve as your map base layer).
After including a link to the map image, you’ll be able to add points to that image, just like you’d add lat/long points on a map. Your XY coordinates will be percentages across the height/width of the background image (50,50 will be the center).
Hi. I struggled with XY column and images for a long time. The trick for me is to store my images (images of general arrangements of buildings for example) in my own website. (http://my-sgf.co.uk/workspace/storage.html) then copy and paste the URL into the Base Data section.
Good luck
Is it possible to specify a URL link that comes from another column in the app? I have a drawings table and I want to add the ability to add multiple (LatLong) markups on each drawing in a separate markup table. The URL of the drawing image is stored in the original drawings table as Link_URL.
@Riki_Armstrong you can definitely do this. Here’s an example where each ‘facility’ in an app has an indoor map. To accomplish this, the table of facilities has a column for the XY image value of each indoor map (click on the map icon associated with inspection points to see the indoor maps, and check out the ‘Data’ to see how it’s setup).
Is there a an “easy” way to upload an image with appsheet, intra app, and then utilize it as the floor plan?
I see your URLs, but where did those come from?
Basically, add a column to your sheet with a formula that points to the image column (where the user uploads intra-app.
Add this formula to the column in Google Sheet:
=SUBSTITUTE(CONCATENATE(“https://www.appsheet.com/template/gettablefileurl?appName=“,”Your app name - number “,”&tableName=”," Your table name “,”&fileName=",+ your spreadsheet column and rowi.e. E2 ), " ", “%20”)
You will have to regenerate the structure in Appsheet to get this formula as the autocomplete.
Use this new column as the background for the XY column.
Thanks for that tip. I have a use case where I would like the user to be able to edit the XY location immediately without having to save the record. Would you be able to advise how I could i do this?
HI Peter, belated seasons greetings and thanks for your guidance. I’ve enabled QuickEdit beta on the view as well as set the XY position field as a QuickEdit column, However I still find that the XY location pin for editing is only displayed when I’ve saved the record. I am able to edit the XY location directly from the table view however. Grateful if you could advise again if this is the most expedient route to allow the edit of XY location on the uploaded base image
Hi Grant, Did this work for you ?
I also have a use case and am interested if you managed to get this working.
Also, it appears that the XY coordinates are relative to an image (jpg) rather than a pdf.
Hey Craig, we now use XY extensively, pushing the boundaries on it for sure. Yes, it needs to be an image. If you use file with a pdf it will look like it’ll work, but really it’s just using the thumbnail, so don’t do that.
All you need to do is have an image column and then reference that image column in your expression for the background XY. (It used to need to be a public URL, but not anymore, way easier now.)