My Opera is closing 3rd of March

Groupassport

نقشه جهان

'this.getVectorLayer()'


My results research for error 'this.getVectorlLayer()':
http://www.ordnancesurvey.co.uk
OpenSpace.Map
This class sets up a map window containing an Open Space data layer, a vector layer and a marker layer.
Inherits
<OpenLayers.Map>
Example
The following example shows how to add a default map and set the map center:
var osMap;

function init()
{
osMap = new OpenSpace.Map('map');
osMap.setCenter(new OpenSpace.MapPoint(438760,114760), 8);
}
Summary
OpenSpace.Map This class sets up a map window containing an Open Space data layer, a vector layer and a marker layer.
Constructor
OpenSpace.Map Constructor for a new OpenSpace.Map instance.
Functions
validateMapControls this method checks the Options.control array and removes OpenSpaceControlCopyrightCollection and OpenSpaceControlPoweredBy if they are created by user, they will be added later anyway, i.e.
getProductKeyForResolution A convenience method return a valid product list form resolutions supplied.
getMarkerLayer A convenience method to return a reference to the default marker layer.
getVectorLayer A convenience method to return a reference to the default vector layer.
addLargeOrSmallControl A convenience method to return a large or small map control based on screen size.
isSmallMap A convenience method to return a boolean based on screen size.
getInfoWindow A convenience method to return a reference to the info window.
createMarker A convenience method to create a marker, optionally with an associated popup info window.
removeMarker A convenience method to remove a marker.
clearMarkers A convenience method to remove all markers.
addFeatures A convenience method to add features to the map.
removeFeatures A convenience method to remove features from the map.
destroyFeatures A convenience method to remove all features from the map.
openInfoWindow A convenience method to open a popup info window.
closeInfoWindow A convenience method to close a popup info window.
pan This function pans the map.
animatePan This function pans the map in smoothly animated way.
animatePanStep This function performs one step in the map panning animation.
animatePanEnd This function performs the final step in the map panning animation and resets all the values.
panDrag Allows user to pan by a value of screen pixels
getCenter {OpenSpace.MapPoint}
setCenter
updateSize This function should be called by any external code which dynamically changes the size of the map div (because mozilla wont let us catch the “onresize” for an element)
getMapPointFromViewPortPx Gets the coordinates of a point on the map given the position of a point on the map window
getViewPortPxFromMapPoint
getMapPointFromPixel
getPixelFromMapPoint
getMapPointFromLayerPx
getLayerPxFromMapPoint
Constructor
OpenSpace.Map
Constructor for a new OpenSpace.Map instance.
Parameters
div {String} Id of an element in your page that will contain the map.
options {Object} Optional object with properties to tag onto the map.
One option is to specify which raster mapping is visible by specifying product codes (see look-up table)
Examples
// create a map with default options in an element with the id “map”. This map will include all map layers less OS VectorMap District.
var osMap = new OpenSpace.Map("map");
osMap.setCenter(new OpenSpace.MapPoint(438760, 114760), 10);
// create a map with some options
This map will display a map with just OS StreetView
var options = {
products: ["SV", SVR"]
};
var osMap = new OpenSpace.Map("map", options);
osMap.setCenter(new OpenSpace.MapPoint(438760, 114760), 10);
Functions
validateMapControls
validateMapControls:function( opts )

this method checks the Options.control array and removes OpenSpaceControlCopyrightCollection and OpenSpaceControlPoweredBy if they are created by user, they will be added later anyway, i.e. avoid duplication
Returns
{Array}
getProductKeyForResolution
getProductKeyForResolution: function( resVal )

A convenience method return a valid product list form resolutions supplied.
Returns
{Array}
getMarkerLayer
getMarkerLayer: function()
A conv

General PublicSkype Social

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies