Hello, Does anyone has a sample of how to use OpenStreetMap on a Asp.net website? Thanks asked 29 Feb '12, 12:48 LouisGi
showing 5 of 6
show 1 more comments
|
NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum
Hello, Does anyone has a sample of how to use OpenStreetMap on a Asp.net website? Thanks asked 29 Feb '12, 12:48 LouisGi
showing 5 of 6
show 1 more comments
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Question tags:
question asked: 29 Feb '12, 12:48
question was seen: 8,661 times
last updated: 01 Mar '12, 18:49
NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum
Can you be more specific about how you would like to use OpenStreetMap on your website. Do you mean deploying your own slippy map? ( http://wiki.openstreetmap.org/wiki/Deploying_your_own_Slippy_Map ) <-- See example there. Many will work using plain HTML and javascript which might be used outside of any ASP logic, so what do you want ASP logic to do? Loading marker locations from a database? Be more specific
What I wanted to see is to add markers to my map and load data from my DB. I've implemented it twith Google maps and with Bing Maps but I haven't found any help to implement this with OpenStreetMap. As I browse the internet I think I found something with Silverlight but I would prefer not to use it. I took a short look to the page you mentioned but this use Javascript. which isn't very easy to handle for what I want ...
I do not have a sample, but if you already have Google maps running, this might help: http://blog.nestoria.co.uk/why-and-how-weve-switched-away-from-google-ma
OK "add markers to my map and load data from my DB". Now you say you've implemented it with google maps and with bing maps... and you imply that you've done this "without using javascript". Are you sure your existing solution doesn't use javascript? Is it using google maps static image API? ActionScript flash API?
Yes Harry, There are some controls to implemented it without the use of javascript (I used for example Microsoft.Live.ServerControls.VE.dll for Bing maps). I'm not writing here to make any impressions I just want to see how this can implemented. My knowledge of Javascript is very basic. If you have an example of that, it is more than welcome because I think I can make it happen!
If you want a really simple Javascript example I'd have a look here - about 12 lines in total.