Activate Service Layers.
ActivateLayers: function( layers )
Add control to display tool box components
AddDisplayMenuPanel: function()
Add initial zoom extension control to the map, based on OpenLayers 3 ol.control.ZoomToExtent.
AddInitExtensionControl: function()
Create a new component in the Tool Box (Menu Control Panel).
AddNewComponent: function( newCompDiv, title, id )
Add new vectorial layers.
AddNewVector: function( projType, vectorIGN, vectorType, zoomLevel )
Add control to include the search place names or address candidates from IDEE and CartoCiudad services using autocomplete functionality, and select one of them from the list of candidates.
AddSearchControl: function()
Show WMS layers
AddWMSLayers: function( wmsLayer )
Show WMTS layers
AddWMTSLayers: function( wmtsLayer )
Add control to zoom rectangular box in teh map.
AddZoomBoxControl: function()
Add zoom control to the map, based on OpenLayers 3 ol.control.Zoom.
AddZoomControl: function()
Function called to replace the attribution name depending on the area where the center of the image is.
ComprobarAtribuciones: function( extensionMapa, fileKML )
Function that verify 2 conditions, zoom level and visible layer.
ComprobarCondicionesAtribuciones: function()
Deactivate information control.
DeactivateInfoControl: function()
Deactivate zoom box control.
DeactivateZoomBoxControl: function()
Delete all measures and vectorial layers displayed over the map.
DeleteSelection: function()
Desactivate Service Layers
DesactivateLayers: function( layers )
Disable the measure functionality over the map.
DisableMeasures: function()
Disable the Set center functionality.
DisableSetCenter: function()
Add new vectorial layers.
docAddVector : function( projType, vectorIGN, vectorType, this_API_CORE, zoomLevel )
Add the input vector layer to the map, draw its features and add the layer into the TOC.
docAddVectorCluster : function( projType, vectorIGN, vectorType, this_API_CORE, distance, showFeatures, zoomLevel )
Reference to the display menu panel control (Tool box).
GetDisplayMenuPanel: function()
Reference to initial extension control instance based on OpenLayers 3.
GetInitExtensionControl: function()
Reference to created instance of map based on OpenLayers 3.
GetMap: function()
Reference to the control for searching place names or address candidates from IDEE and CartoCiudad services using autocomplete functionality, and select one of them from the list of candidates.
GetSearchControl: function()
Reference to the selector IGN_search for searching place names or address candidates from IDEE and CartoCiudad services using autocomplete functionality, and select one of them from the list of candidates.
GetSearchWidget: function()
Reference to zoom rectangular box control instance based on OpenLayers 3.
GetZoomBoxControl: function()
Reference to zoom control instance based on OpenLayers 3.
GetZoomControl: function()
Function called after creating the Map to initialize its components
InitApiCore : function()
Function initializing the control panel, preparing the tool box and the listeners for the different functionalities such as measuring, cleaning or centering the map.
InitControlPanel : function( elementSetVector )
Function initializing the map layer, preparing the layer tree, which is exactly the same as the openlayer layer array Listeners have to be defined to apply the changes that can be done on the openlayer array at the layer tree, so as to keep the structure
InitMapLayers : function( elementSetVector )
Function initializing the search module
InitSearch : function( objMap )
Function initializing the service layer, preparing the map for the loading of WMS or wMTS layer.
InitServiceLayers: function( elementSetVector )
Function initializing the vector layer, preparing the loading of vector layers.
InitVectorLayer: function( elementSetVector )
Specifies if the API is displayed in a mobile device
isMobile:function()
Draw and calculate the area in the map.
MeasureArea: function()
Draw and calculate the lineal distance between two points in the map.
MeasureLinearDistance: function()
Remove all overlays.
RemoveAllOverlays:function()
Remove all popups.
RemoveAllPopups:function()
Remove information of the popup.
RemoveInfoPopups:function()
Remove initial zoom extension control from the map.
RemoveInitExtensionControl: function()
Remove measure of the popup.
RemoveMeasurePopups:function()
Remove popup.
RemovePopup:function( popupToRemove )
Remove display menu panel control from the map.
RemoverDisplayMenuPanel: function()
Remove control to include the search place names or address candidates from IDEE and CartoCiudad services using autocomplete functionality, and select one of them from the list of candidates.
RemoveSearchControl: function()
Remove control to zoom rectangular box in the map.
RemoveZoomBoxControl: function()
Remove zoom control from the map.
RemoveZoomControl: function()
Add control to get geojson feature collection related to the search place names or address candidates from IDEE and CartoCiudad services using autocomplete functionality, and select one of them from the list of candidates.
SearchFeatures: function()
Set center in the coordinate pointed by the mouse click event.
SetCenter: function()
Set initial zoom extension.
SetExtent: function( xmin, ymin, xmax, ymax )
Set new values (see input parameters) to perform a new style for vectorial features popups.
SetStyleFeaturePopup: function( popupBorderColor, popupFontColor, popupFontSize, popupfontFamily, popupWidth )
Set new values (see input parameters) to perform a new style for measure geometries (line and area) and associated popups.
SetStyleMeasure: function( geomBorderColor, geomFillColor, geomLineDash, geomBorderWidth, pointerRadius, pointerBorderColor, pointerFillColor, geomEndBorderColor, geomEndFillColor, geomEndBorderWidth, popupBorderColor, popupFontColor, popupFontSize, popupfontFamily, popupWidth )
Add initial zoom.
SetZoom: function( zoom )
Show popup with the information.
ShowPopup:function ( popupType, popupPosition, popupInfo )