OpenStreetMap-logo OpenStreetMap

my own map

Käyttäjä habash kirjotti tämän 18. Junea 2008 kielellä English

how I can use this utility in me web
and my own map

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

Kommentti käyttäjältä IgnoredAmbience 18. June 2008 klo 21.33

Take a look at this wiki article for sample code:
osm.wiki/index.php/OpenLayers_Simple_Example

Kommentti käyttäjältä habash 19. June 2008 klo 06.35

hi
thank u very much
how can I dispaly my own map which is lay in my computer by using openstreet
view utilty

tanks again

ahmad habash

Kommentti käyttäjältä habash 19. June 2008 klo 06.52

hi

in example code he use
[
maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
]

which mean he gave the coordinate in the code

I need to load map from localhost whithout coordinates

thanks alot

Ahmad Habash

Kommentti käyttäjältä robx 19. June 2008 klo 09.35

I'm afraid I don't understand exactly what you're trying to do... What is the "openstreet view utility"? By your "own" map, do you mean your own rendering of the openstreetmap.org data, or a rendering of your own .osm-data?

The offline editors (JOSM, Merkaartor) and Kosmos allow viewing map data on your computer. If you're
on Windows and not interested in editing, Kosmos is probably the best bet: osm.wiki/index.php/Kosmos . Using these, you can download and display OSM
data from openstreetmap.org or just view your own .osm-file.

Cheers
Robert

Lokkaa sisäle kommentoidaksesi