Graphical error in editor
Purple and green with weird patterns.
http://prntscr.com/e7iok8
Actually I got it figured out, something weird was going on and the array wasn't getting the values, the place off the coast of africa is 0 lat 0 long. Thanks for all your help!
Okay, so I got everything correct but my coordinates when imputed from the array put a marker off the coast of Africa. 33.383590, -111.840669 Its a Home Depot (Just testing locations) and its in the middle of a desert.
Okay thanks.
I am not that skilled in this area, but rather than posting the code; post what the character does so then people who are not experienced in C could help you easier.
Develop games in your browser. Powerful, performant & highly capable.
So do you mean add the file into an array and then add the array into the map?
Also how could I center the map on a point that isn't the user's location?
oh okay, My file contains lat and long for each location I want to add.
There is only add marker by coordinates no x,y.
Make it global? Never tried that, but I will.
Edit: It worked! Thank you so much! It took less than 10 seconds to fix.
Also how would I add points from a file?
Okay thank you!
I haven't gotten a response so I will re-phrase, when I switch layers I have to create another map object or else the map will not show.
I need work on the title, and the game it at: http://addie.us:81/games/jump
Would it be possible to allow us to move where the object is? Also after deleting the map object I have to create it twice or else it won't show up.
I mean that when I zoom in it centers the marker of the persons location in the middle.
Actually I got it figured out, I was making it create new markers every tick.
I have a problem where it keeps centering the map on the user location.