Developing Google map API - Windows Mobile Development and Hacking General

Hi every one,
I'm trying to add a Google map in my app that I'm working on,
I found a sample app but it's just receive an image for the current position that I'm getting it from the GPS radio and send it in an URL to Google map web serves then show it in an ImageBox,
but my need in my app is a map that I can move it by my finger very easy like the one inside the officially Google map app or in some of the site using there API you can move it by the mouse .
so I searched about this topic to find any some samples or tutorials but no luck,,, any helps please ?
I don't know if JavaScript is the solution or not ?? if yes, any idea how I can write a JavaScript code inside C# class, as I never worked with JavaScript before?
Thanks

Whilst not 100% relevant but it should help, there's a video on msdn about how to integrate virtual earth maps into a picturebox
http://msdn.microsoft.com/en-us/netframework/dd920289.aspx
I'm guessing the methods are pretty similar but you just use the google maps api.
Let me know if it helps because I'm thinking about writing an app which uses google maps for a visual golf gps rangefinder.

Yes I watched that video before and I tried the app it's works fine,
but for some resigns I need to use Google map and the visual earth it's doesn't support some country maps unlike google .
but I have a sample code written using static Google map API which is just retrieve the image you request by using the GPS position BUT I need the map to be interactive with the user so he can move it around with out depending on the GPS location

Related

Store Google Maps locally

Hey guys,
wondering if there is a way to store the map data locally?
This way I dont need to always use the wireless connection to get maps on the run, and im sure it would speed up the application too.
Of course i dont expect to store the whole world, just my city. Is there a method to do this?
tia!
sephstyler said:
Hey guys,
wondering if there is a way to store the map data locally?
This way I dont need to always use the wireless connection to get maps on the run, and im sure it would speed up the application too.
Of course i dont expect to store the whole world, just my city. Is there a method to do this?
tia!
Click to expand...
Click to collapse
I made myself a simple workaround - just make screenshots!
gpsVP
This is what the open source project gpsVP is all about.
http://code.google.com/p/gpsvp/
Code is free, and there is ateam working on enhancements.
I have had it running on the X1 for past week. Works great.
I have tried both Google and MS map caching. Not Openstreet yet.
In addition I created my own raster map using Mapcruncher to calibrate coords.
It take s a bit of getting used to, as user documentation is catching up.
You can seed the cache while connected to PC/Landline. Starting at the most zoomed-in level you want, the app will automatically download the higher levels maps.
Hi,
Nowadays I'm testing this one:
http://terracrosser.com/
This program has two parts:
- Mapper.exe
You have to copy it to the PC and it allow to select an area at gooblemaps or yahoomaps and tke zoom levels.
It dowloads the images with the size you have selected and at the end compress them in 1 file (that you have to copy to the PDA​
- Terracrosser itself: for the PDA.
This is not a navigation program. It show in the photo or map image where you are.
The speed is not very fast, development is in progress. Also depends in how many maps have you download and the resolution of them.
Nice program and very, very nice downloader. Very simple.
I use NoniGPSPlot (http://aeguerre.free.fr/Public/PocketPC/NoniGPSPlot/EN/index.php) it's free (I donated though for the extra features & because it's awsome) and there's a free map downloading app that lets you cache maps from google, yahoo, live and openmap, builds the image (or slices to help with memory usage) at whatever zoom level you want. You just then load them into NoniGPSPlot and you've got the ultimate GPS tool, with no data connection required.
I mostly use it to log walks for Geotagging my photographs. I can download maps with footpaths on so I can plan in advance a route, the dog gets a good walk, I get some good shots and can geotag them later in lightroom, and we never get lost!

Make google maps possible to use offline - store maps on sdcard ?

Hey,
Ususally im in places where i have no 3g coverage(for example while bicycling :] ), so i can't use google maps on my htc magic there. Im looking for something that will let me change google maps cache size, which I believe is very hard. Currently cache has only 1mb, and allows to store just small fragment of map.
There are some other solutions like, RMap and AndNav2 that can work offline, but google maps is used in several other useful apps.
Im learning android development just now so im thinking of writing some proxy app that will record downloaded maps tiles into sdcadrd, and later it would be possible to use them again without internet access.
I think all i need to do is to make google maps use 127.0.0.1 instead of google server and write proxy app that will be running on android device.
Do you think its possible?
Or there is another way to do that that I'm not aware of?
Im recommending Mapdroyd (lovely OSM maps) and its free
http://www.mapdroyd.com/
I don't know why google maps can't just cache to the SD card (let us have a setting to turn it on or off!) It would be really handy for low/no signal areas. I don't think as of now it's possible at all, but maybe google will enable it in the future.
codito said:
I don't know why google maps can't just cache to the SD card (let us have a setting to turn it on or off!) It would be really handy for low/no signal areas. I don't think as of now it's possible at all, but maybe google will enable it in the future.
Click to expand...
Click to collapse
Google just badly wants to know all your whereabouts to better geotarget ads ;(

[Q] Navigating Embedded Google maps on websites

Does anyone know of a way to navigate embedded maps on websites when visiting from your transformer. For instance if you try to navigate the map at this NWS website you will just move the page around. How do I access the map and navigate within it?
I don't think you can - and trying to use the little control buttons at the side of the map is an exercise in frustration. I have the same issue with a property website that I use - the embedded map is so zoomed in it is impossible to see where it is, but if I click one of the buttons to zoom out I end up seeing the whole country. Wish you could just long-press a map to open in the maps application. (at least for any site using google maps).

[Q] University custom map App. tips how to do it?

Hi. I want to make a custom map for our university like Google map function. I searched in google there is so called Google map floor plans but this is just for a specific building, I don't know the specific details about that api. I want make a map for the area of the university and with their building.
Take a look here. Official docs state everything that you need.
https://developers.google.com/maps/documentation/android/

Offline Maps?

I want to use my device for offline maps, i think it would be the perfect device for that considering readability outdoors. I've had no success with google maps as they appear to only offer offline functionality for android 2.2 and up in version 6.9+, nor can i find a newish version that would run on the nook anyways. I was hoping someone else has found a solution for this be it with google maps or an alternative. Preferably with an ability to accept lat/long coordinates to find places.
Thanks a lot, i appreciate your time to read this and any input you may give the thread.
This would be a source of USGS topographical maps in PDF form: https://store.usgs.gov/
Unfortunately, the website seems borked.
There was a thread on GPS and Nooks.
Best bet is to interface it directly at 3.3V to ttyS1 (UART2).
You'd still need an app to deal with this all.
There's OruxMaps, it works with both online and offline maps.
to access the go-to-point feature, you need to to customize the interface:
Setting->user interface->buttons->buttons bar-> now you scroll that thing in the middle until you find an icon that looks like a marker over a line of dots and you put it in one of the side menus, now you have a go-to button.
on the same occasion you can get rid of all the GPS related buttons.

Categories

Resources