Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Google map: Overlay doesn't work

 
yen hoang
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am newbie with Android, I've started with the MapView example from the following link: http://developer.android.com/guide/tutorials/views/hello-mapview.html
But it doesn't work,

According to the tutorial, the map of Tokyo must be displayed, but it didn't. I debugged and saw that it run through all the linecodes, i don't know why the tokyo map wasn't displayed!
Please tell me how to fix the code above!
Thanks in advance
 
James Elsey
Ranch Hand
Posts: 228
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I went through the tutorial and it worked OK for me.

What is the debug output you are getting, are there any errors?

What do you mean the map wasnt displayed, was there an error? Did it just show grey squares instead of the map?
 
yen hoang
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The map is displayed but instead of displaying Tokyo, it displays USA map ( default map ). When I debugged, there is no error or st strange.
I'm really confused
 
yen hoang
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank your support, I resolved the problem
 
James Elsey
Ranch Hand
Posts: 228
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats good,

Can you please post what you did to resolve? It will help people in the future who come across this thread
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic