Project to get to rubbish containers nearby

What's wrong with my design? I am quite new to this world. Can you help me with this? I'm a Primary teacher and don't know how to deal with it.

What exactly is your issue? Please elaborate. What do you want to happen and what happens instead?
Also before taking a screenshot of your bocks please switch the language to English
Thank you

Taifun

The map doesn't open and the markers don't appear. Thank in advance for your help , I said before, I'm new to this world and need tons of help ::

Welcome Jalas.

Sorry, I do not understand what your app is supposed to do and cannot read your Blocks. I imagine you want to load a lot of Markers from coordinates stored on a Google Spreadsheet. The Markers are posted where your rubbish containers are located and use an ActivityStarter to post a route on the Google Map. The Blocks you are trying to use do not appear to be appropriate. Where did you find this example? Do you have a Google API license?

Here is an tutorial showing how to load a lot of Runtime Markers on a MIT Map (which uses OpenStreetMap map tiles; not Google Map tiles.) It uses a csv file of the Marker locations. It may contain features that are easy to work with using App Inventor.

You could modify this example (there is an aia file) to fit your purpose hopefully with your rubbish containers. :

It would help the developers here for you to provide the information Taifun asked for so they could provide specific advice to help with your code, which does not run. The tutorial does run l :grinning:

Thank you very much for your help. I am close to success. However when trying in the companion I get this message: Cannot parse text argument to 'list from csv row' as CSV-formatted row". How can I sort it out?


containersapp.aia (16.8 KB)

You seem to be confusing lists with their text CSV representations.

Use separate variables with separate names for CSV vs LIST vs TABLE data types.

Can you explain how to?

When you downloaded the Marker tutorial, did you run it with the Destinations.csv that was part of the example app? If you did, were the National Parks markers displayed in the map?

I suspect that the csv you created for the rubbish container location may have an error. I will look at that later today. You changed the the number and order of items from the Destinations csv. This may have resulted in errors when the rubbish container csv was created and you changed the items to be sorted corrupting the data set. I don't know. The code I provided does work without changes.

I am very busy at the moment but hope to look at your csv and the sorting routine and get your app to work later today.

It is important you answer the two questions asked at the beginning of this post to help me understand how to fix the modified program you made.

Got one piece

:grinning:

now I have to find what needs to be changed in the sort routines. :disappointed_relieved:

Hi again. You are awasome! You made it work! How?
When I downloaded the Marker tutorial I run it with Destinations.csv and all markers were displayed in the map.

I have been searching for the error in the csv file. But I don't find it.
My project consists in using your location and from that point, choose a type of container, and looking at the map finding where the closest one is. For that reason u need a file to the different rubbish containers (glass, paper and plastic)
The ideal target would be being able to get 3 types of markers (depending on the rubbish container you need. Then considering your location, get the nearest one and, if necessary, using the map to that container.
I keep trying to find where the mistakes are and as I have already said, keep working in it.
You are helping me a lot. This app is part of a project that we are developing with our students in a small village in the South East of Spain dealing with sustainability and environmental issues. Thank you very much.

I may be able to do that. Provide me a small png or jpg image of each type . will try and I see whether I can add that feature instead of posting Markers.

I have an aia with most of the other changes you can test I will try to send you later today. You have to test it. The app probably will be close but might partially work.

Hi again Steve. Here I upload 3 images of each type.
2
3
1
Thanks in advance!

like this? This is a proof of concept. Yes we can do images instead of marker pins.

The bad news is I don't have a finzl ziz yet. I will try to post one for you to test tomorrow

Thamk you, it is ok.