Current location (GPS) + Overlay(s) from a database

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Current location (GPS) + Overlay(s) from a database

Postby svebee » Wed Apr 21, 2010 11:21 pm

Hello, I need some help :?

For my application I need a map (GoogleMaps?) and when I navigate to it in my application (for example I click "Map" button on Main Screen), I have to be located by GPS and displayed some overlays on a map. I find this but there is no GPS positioning and Text Areas on the left/right side of a pinpoint/markers on Overlay.

http://developer.android.com/guide/tuto ... pview.html

So I have a map, map is zoomed to my GPS location which is pinpointed, and around it are some other locations which are also marked by pinpoints but around pinpoint(s) is some (my) text. Coordinates of that other locations (latitude, longitude) are stored in a database, and also text around it is stored in a database.

Here is an image how is that supposed to look like (don't mind that everything is "A", think like A,B,C,D,E...)...

Code: Select all
http://www.imagesforme.com/show.php/1091541_map.jpg


Thank you in advance,
svebee
svebee
Junior Developer
Junior Developer
 
Posts: 21
Joined: Wed Apr 21, 2010 10:19 pm

Top

Postby svebee » Thu Apr 22, 2010 6:57 pm

anybody? anything? :?
svebee
Junior Developer
Junior Developer
 
Posts: 21
Joined: Wed Apr 21, 2010 10:19 pm

Here's an example I found that may help.

Postby ethan.close » Thu Apr 22, 2010 10:43 pm

Hi,

I'm on the path to doing some map stuff and thought your question was a good one. I found this blog with an example that looks like it could help. It's a little old, but I think the use of pixelCalculator and drawText are what you need to draw what you want.

Download the .zip file and check out the MyOverlay.java file. It may just help.

Site: http://davanum.wordpress.com/page/9/
Attached the source zip.

Good luck.

Ethan
Attachments
BrowseMap2.0.zip
(41.36 KiB) Downloaded 80 times
ethan.close
Freshman
Freshman
 
Posts: 5
Joined: Fri Mar 19, 2010 12:53 am
Location: San Francisco

Postby svebee » Sun Apr 25, 2010 9:18 am

thank you, I have also found something that is very similar or exactly what I want..but still I need to customize it :?

http://blog.pocketjourney.com/2008/03/1 ... p-windows/
svebee
Junior Developer
Junior Developer
 
Posts: 21
Joined: Wed Apr 21, 2010 10:19 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 7 guests