so at the moment im trying to play with different code to get all my collectables to come up on screen.
im just about to try this
-getting the maps visible area
-then getting all the road names in the visible area
- place markers alone the visible roads at x distance apart
another issues that has recently occurred is that as the user moves the whole map refreshes which means the map flickers which is a problem i think this is due to the fact the centre of the map is set to the users location so as the user moves the map dose to so to fix this im going to try this
- getposition set map centre
- place marker at watch position
(doing this the map will get the user location load and be static then only the marker will follow the user)
-when marker leaves visible area get position set centre
this should then move the map when the user leaves the visible area hope this fixes the current issues
No comments:
Post a Comment