On Thu, Nov 24, 2011 at 8:21 PM, jns wrote:
> Hi,
>
> I apologize if this isn't the correct forum for my sort of question. But I'm
> very new to this and I will however give it a try.
>
> This line of code will render the map just as it is supposed to do:
>
> map = new OpenLayers.Map({div: "map",
My bad on this, it can be
passed in a a full object literal. Not something I usually do when
creating a map.
Troy
On 11/24/2011 15:27 PM, Troy Coburn wrote:
If you look at the
OpenLayers.Map constructor it is asking for two para
If you look at the
OpenLayers.Map constructor it is asking for two parameters; the
first being the "div" to render the map, and the second being a
list of options. By using
new OpenLayers.Map({div: "map", controls: [geolocate], layers:
[layer]});
You are
Hi,
I apologize if this isn't the correct forum for my sort of question. But I'm
very new to this and I will however give it a try.
This line of code will render the map just as it is supposed to do:
map = new OpenLayers.Map({div: "map", controls: [geolocate], layers:
[layer]});
... but should