map in another frame?


I’m a newby concerning OSM and I know some basics about HTML and JavaScript.

I tried the example and now I want to display the map in another frame. How can this be done?

Where can I find some information about OpenLayers.js, OpenStreetMap.js and the API?

Is it possible to get the coordinates from the map by clicking on a position, so that I can process the data with a JavaScript-method?

Greetings Uri

The answers to the questions are:

  • Map in another frame:
    new OpenLayers.Map (parent.frame_name.document.getElementById(“map”), {… instead of new OpenLayers.Map (“map”, {…

  • More information:

Greetings Uri