Skip to first unread message

Pranay

unread,
Mar 12, 2019, 11:59:36 AM3/12/19
to MIT App Inventor Forum

Hi all,

I was trying to replicate the USA Quiz Me and make it India specific. I got India's GeoJSON file from the Net. However, it is not getting highlighted like the New England States get in the Quiz Me tutorial.How should this issue be fixed? Thank you so much.


Cheers,
Pranay

SteveJG

unread,
Mar 12, 2019, 12:30:35 PM3/12/19
to MIT App Inventor Forum
Not familiar with  USA Quiz Me Pranay.  Where did you find this tutorial?    Do you mean State Geography Quiz with Map Component

This tutorial uses the Map and FeatureCollection components to make a quiz about the New England states. Users click on the state when prompted with the state name or state capital. This is an example of using a GeoJSON file to add clickable polygon information to a map.

Here is the tutorial.


or something else?  

You said " it is not getting highlighted like the New England States get in the Quiz Me tutorial"   If you mean in the StateGeography Quiz, what do you mean by highlighted?  The geojson polygons do not dislay or when you click on them nothing happens or what?

If you post the geojson file you found as an attachment here in the Forum, someone could check that the file actually works.    

You may have to post an image of your Blocks here in the Forum to get specific advice.

Regards,
Steve



ABG

unread,
Mar 12, 2019, 2:51:13 PM3/12/19
to MIT App Inventor Forum
Could you post a link to the geoJSON file?

When I tried using a full USA states file,
I found that file too large to import at Design time.

I had to choose a file with 5 mile long edges.

Also, the New England sample geoJSON file given
with the original tutorial was rigged to match 
particular FeatureList attributes with extra identifying 
values.

ABG


Reply all
Reply to author
Forward
0 new messages