Skip to first unread message

Felipe Valenzuela

unread,
Jan 1, 2018, 1:17:58 PM1/1/18
to MIT App Inventor Forum
Hello, i'm trying to develop an app, where i create a marker, with 2 coordinates given by the user.
The map component gives a method called CreateMarker, but i dont´t know how to join it to another block and what kind of block can i use to join with that method.

Thanks

SteveJG

unread,
Jan 1, 2018, 2:06:58 PM1/1/18
to MIT App Inventor Forum
Try this and a little ingenuity Felipe.  https://groups.google.com/forum/#!category-topic/mitappinventortest/LlYPkhP1Bw4  

Use a Textbox to input    latitude , longitude and parse it to a global variable of coordinates for a Marker   or  use two TextBoxes..one for latitude, the other longitude.

You can also have the user tap a location on the Map and capture the coordinates but the example does not show that method that might work for you too.

Try some blocks.  When you find a solution consider posting them here for others to learn.  If you have issues, ask again here...this is easy but requires a lot of blocks and an knowledge of the MIT  Maps documentation.l

Happy New Year,

Steve

Felipe Valenzuela

unread,
Jan 2, 2018, 8:25:23 AM1/2/18
to MIT App Inventor Forum
that's what i was looking for, thanks
Reply all
Reply to author
Forward
0 new messages