Hi:

I found that the osm main page use the openlayers with custom some features.

I am interested in this, but I only find the compressed codes.

Is it possible to get the uncompressed codes(openlayers related)?

asked 30 May '13, 01:15

hguser's gravatar image

hguser
36336
accept rate: 0%

edited 30 May '13, 15:09

aseerel4c26's gravatar image

aseerel4c26 ♦
31.9k16237548


I have not looked at the code before / am not involved, but I think you are searching for this: The Rails Port and especially the source code of the main osm page. Well, the main JavaScript code is still loaded into some placeholders there - somewhere (/app/assets/javascripts?) in the github repo, I guess. By the way: if I see correctly the main page uses Leaflet, not (anymore) OpenLayers.

permanent link
This answer is marked "community wiki".

answered 30 May '13, 01:45

aseerel4c26's gravatar image

aseerel4c26 ♦
31.9k16237548
accept rate: 18%

edited 30 May '13, 02:08

3

In case it helps I think https://github.com/openstreetmap/openstreetmap-website/tree/c0b47c0c2a3c31b42ef946aa6e07b85305091a0c allows you to browse the site code as it was as at the last commit before merging the Leaflet branch.

(30 May '13, 08:36) EdLoach ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×111
×97
×87
×84
×33

question asked: 30 May '13, 01:15

question was seen: 2,016 times

last updated: 30 May '13, 15:09

powered by OSQA