views:

1700

answers:

6

Hello,

does anyone know, how I can use OpenStreetMap inside my Compact Framework Application? Is there a Framework or something like that? All I can find in their Wiki is how to contribute to their Project and to user their Software to Map data. But I want to use their maps to show the users Location inside my own App. I could not find anything about using their "Webservice" or what ever I have to use to show their maps inside my Application.

Any Idea or tutorial?

Thank you so much

twickl

A: 

They don't appear to have any CF libraries, but the API specification is well documented, so there's no reason you couldn't integrate with it.

ctacke
+4  A: 

There is a project on Google Code that wants to create a .NET library for the OpenStreetMap API. The website states that there currently is an alpha release, so it might be worth checking that out: code.google.com/p/openstreetmapnet

And there are two similar projects on CodePlex as well: osmscout.codeplex.com gmap4dotnet.codeplex.com

Maybe those can be used in the Compact Framework as well, or you could ask the project teams to add that feature (or get involved yourself, it is opensource after all).

The OpenStreetMap.Net project hasn't been updated in long time.
Schmuli
A: 

I recently found this video on YouTube that shows a C# component for the .NET CF. Probably, it's worth a try...

http://www.youtube.com/watch?v=uVLlB0bq3Uo

furtelwart
Nice vid, but there is no link to the control itself.
Schmuli
But probably a possibility to contact the author, as twickl already did.
furtelwart
+1  A: 

CloudMade provides APIs for embedding OpenStreetMap maps in many languages - but not .NET as of the time of writing. There are plain HTTP APIs for map tiles available that you could call from .NET programs, but this is of course fairly low-level.

The CloudMade APIs are designed for developers who want to embed OSM output in their projects, rather than the OSM API which is geared towards map creation, so I think you might be interested in the CloudMade stuff.

See http://developers.cloudmade.com/projects for more.

gravitystorm
A: 

check http://www.youtube.com/watch?v=ffy3vpchRzA

radioman
A: 

I've developed a CF component that can download OpenStreetMap tiles, and also plot points of interest and basic routes. Depending on your requirements, and any restrictions on licences that you're permitted to use, then it may be of use to you?

Rowland Shaw