RAPSİM

Koordinat Dönüştürücü

Koordinat Dönüştürücü ED50 => WGS84

You can use this section for the conversion of ED50 coordinate values to WGS84. For accurate transformation, attention should be paid to the values given on the map when selecting the Grid Number. Check the calculated WGS84 coordinates in the WGS84 decimal format map location indicator section below.

map of turkey grid number

ED50 Değerleri

Sağa Değer
Yukarı Değer
Grid No

WGS84 için Değerler

Latitude
Longitude

WGS84 Derece-Dakika-Saniye => Ondalık Format

WGS84 derece, dakika ve saniye değerlerinin ondalık formata dönüştürülmesi için bu bölümü kullanabilirsiniz.

WGS84 Latitude

Degree
Minute
Second

WGS84 Longitude

Degree
Minute
Second

Ondalık Değerler

Latitude

Ondalık Değerler

Longitude

Konum Gösterici

WGS84 formatında koordinat bilgisine karşılık gelen harita konumunu göstermek için bu bölümü kullanabilirsiniz.

WGS84 Değerleri

Latitude
Longitude
${copyrights}Terms of Use',metadata:null,type:"Road",culture:"en-US",metadataParams:null,tileOptions:null,initialize:function(e){e=OpenLayers.Util.applyDefaults({sphericalMercator:!0},e),OpenLayers.Layer.XYZ.prototype.initialize.apply(this,[e.name||"Bing "+(e.type||this.type),null,e]),this.tileOptions=OpenLayers.Util.extend({crossOriginKeyword:"anonymous"},this.options.tileOptions),this.loadMetadata()},loadMetadata:function(){this._callbackId="_callback_"+this.id.replace(/\./g,"_"),window[this._callbackId]=OpenLayers.Function.bind(OpenLayers.Layer.Bing.processMetadata,this);var e=OpenLayers.Util.applyDefaults({key:this.key,jsonp:this._callbackId,include:"ImageryProviders"},this.metadataParams),e="http://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+this.type+"?"+OpenLayers.Util.getParameterString(e),t=document.createElement("script");t.type="text/javascript",t.src=e,t.id=this._callbackId,document.getElementsByTagName("head")[0].appendChild(t)},initLayer:function(){var e=this.metadata.resourceSets[0].resources[0],t=(t=e.imageUrl.replace("{quadkey}","${quadkey}")).replace("{culture}",this.culture);this.url=[];for(var i=0;i=n.zoomMin&&(h+=t.attribution+" ");this.attribution=OpenLayers.String.format(this.attributionTemplate,{type:this.type.toLowerCase(),logo:e.brandLogoUri,copyrights:h}),this.map&&this.map.events.triggerEvent("changelayer",{layer:this,property:"attribution"})}},setMap:function(){OpenLayers.Layer.XYZ.prototype.setMap.apply(this,arguments),this.updateAttribution(),this.map.events.register("moveend",this,this.updateAttribution)},clone:function(e){return null==e&&(e=new OpenLayers.Layer.Bing(this.options)),OpenLayers.Layer.XYZ.prototype.clone.apply(this,[e])},destroy:function(){this.map&&this.map.events.unregister("moveend",this,this.updateAttribution),OpenLayers.Layer.XYZ.prototype.destroy.apply(this,arguments)},CLASS_NAME:"OpenLayers.Layer.Bing"}),OpenLayers.Layer.Bing.processMetadata=function(e){this.metadata=e,this.initLayer(),(e=document.getElementById(this._callbackId)).parentNode.removeChild(e),window[this._callbackId]=void 0,delete this._callbackId},OpenLayers.Layer.PointGrid=OpenLayers.Class(OpenLayers.Layer.Vector,{dx:null,dy:null,ratio:1.5,maxFeatures:250,rotation:0,origin:null,gridBounds:null,initialize:function(e){e=e||{},OpenLayers.Layer.Vector.prototype.initialize.apply(this,[e.name,e])},setMap:function(e){OpenLayers.Layer.Vector.prototype.setMap.apply(this,arguments),e.events.register("moveend",this,this.onMoveEnd)},removeMap:function(e){e.events.unregister("moveend",this,this.onMoveEnd),OpenLayers.Layer.Vector.prototype.removeMap.apply(this,arguments)},setRatio:function(e){this.ratio=e,this.updateGrid(!0)},setMaxFeatures:function(e){this.maxFeatures=e,this.updateGrid(!0)},setSpacing:function(e,t){this.dx=e,this.dy=t||e,this.updateGrid(!0)},setOrigin:function(e){this.origin=e,this.updateGrid(!0)},getOrigin:function(){return this.origin||(this.origin=this.map.getExtent().getCenterLonLat()),this.origin},setRotation:function(e){this.rotation=e,this.updateGrid(!0)},onMoveEnd:function(){this.updateGrid()},getViewBounds:function(){var e,t=this.map.getExtent();return this.rotation&&(e=this.getOrigin(),e=new OpenLayers.Geometry.Point(e.lon,e.lat),(t=t.toGeometry()).rotate(-this.rotation,e),t=t.getBounds()),t},updateGrid:function(e){if(e||this.invalidBounds()){var t=this.getViewBounds(),i=this.getOrigin(),e=new OpenLayers.Geometry.Point(i.lon,i.lat),r=(n=t.getWidth())/(a=t.getHeight()),s=Math.sqrt(this.dx*this.dy*this.maxFeatures/r),n=Math.min(n*this.ratio,s*r),a=Math.min(a*this.ratio,s),t=t.getCenterLonLat();this.gridBounds=new OpenLayers.Bounds(t.lon-n/2,t.lat-a/2,t.lon+n/2,t.lat+a/2);for(var o,t=Math.floor(a/this.dy),n=Math.floor(n/this.dx),a=i.lon+this.dx*Math.ceil((this.gridBounds.left-i.lon)/this.dx),i=i.lat+this.dy*Math.ceil((this.gridBounds.bottom-i.lat)/this.dy),s=Array(t*n),l=0;l=OpenLayers.Style.createLiteral(this.minScaleDenominator,i)),r&&this.maxScaleDenominator&&(r=tthis.maxZIndex&&(this.maxZIndex=t)},getNextElement:function(e){if((e+=1)e.left&&r.righte.left&&r.left=e.maxResolution)return null;for(var r,s,n,a,o,l,i={node:this.getGeoTolerance(e.nodeTolerance,i),vertex:this.getGeoTolerance(e.vertexTolerance,i),edge:this.getGeoTolerance(e.edgeTolerance,i)},h=Math.max(i.node,i.vertex,i.edge),p={rank:Number.POSITIVE_INFINITY,dist:Number.POSITIVE_INFINITY},u=!1,c=e.layer.features,y=this.precedence.length,d=new OpenLayers.LonLat(t.x,t.y),m=0,f=c.length;ml.UNSENT&&(this._aborted=!0),this._object.abort(),u(this),this.readyState=l.UNSENT,delete this._data},l.prototype.getAllResponseHeaders=function(){return this._object.getAllResponseHeaders()},l.prototype.getResponseHeader=function(e){return this._object.getResponseHeader(e)},l.prototype.setRequestHeader=function(e,t){return this._headers||(this._headers={}),this._headers[e]=t,this._object.setRequestHeader(e,t)},l.prototype.addEventListener=function(e,t,i){for(var r,s=0;r=this._listeners[s];s++)if(r[0]==e&&r[1]==t&&r[2]==i)return;this._listeners.push([e,t,i])},l.prototype.removeEventListener=function(e,t,i){for(var r,s=0;(r=this._listeners[s])&&(r[0]!=e||r[1]!=t||r[2]!=i);s++);r&&this._listeners.splice(s,1)},l.prototype.dispatchEvent=function(e){"readystatechange"==(e={type:e.type,target:this,currentTarget:this,eventPhase:2,bubbles:e.bubbles,cancelable:e.cancelable,timeStamp:e.timeStamp,stopPropagation:function(){},preventDefault:function(){},initEvent:function(){}}).type&&this.onreadystatechange&&(this.onreadystatechange.handleEvent||this.onreadystatechange).apply(this,[e]);for(var t,i=0;t=this._listeners[i];i++)t[0]!=e.type||t[2]||(t[1].handleEvent||t[1]).apply(this,[e])},l.prototype.toString=function(){return"[object XMLHttpRequest]"},l.toString=function(){return"[XMLHttpRequest]"},window.Function.prototype.apply||(window.Function.prototype.apply=function(e,t){t=t||[],e.__func=this,e.__func(t[0],t[1],t[2],t[3],t[4]),delete e.__func}),OpenLayers.Request.XMLHttpRequest=l}(),OpenLayers.Format.KML=OpenLayers.Class(OpenLayers.Format.XML,{namespaces:{kml:"http://www.opengis.net/kml/2.2",gx:"http://www.google.com/kml/ext/2.2"},kmlns:"http://earth.google.com/kml/2.0",placemarksDesc:"No description available",foldersName:"OpenLayers export",foldersDesc:"Exported on "+new Date,extractAttributes:!0,kvpAttributes:!1,extractStyles:!1,extractTracks:!1,trackAttributes:null,internalns:null,features:null,styles:null,styleBaseUrl:"",fetched:null,maxDepth:0,initialize:function(e){this.regExes={trimSpace:/^\s*|\s*$/g,removeSpace:/\s*/g,splitSpace:/\s+/,trimComma:/\s*,\s*/g,kmlColor:/(\w{2})(\w{2})(\w{2})(\w{2})/,kmlIconPalette:/root:\/\/icons\/palette-(\d+)(\.\w+)/,straightBracket:/\$\[(.*?)\]/g},this.externalProjection=new OpenLayers.Projection("EPSG:4326"),OpenLayers.Format.XML.prototype.initialize.apply(this,[e])},read:function(e){return this.features=[],this.styles={},this.fetched={},this.parseData(e,{depth:0,styleBaseUrl:this.styleBaseUrl})},parseData:function(e,t){"string"==typeof e&&(e=OpenLayers.Format.XML.prototype.read.apply(this,[e]));for(var i=["Link","NetworkLink","Style","StyleMap","Placemark"],r=0,s=i.length;r=this.maxDepth)return!1;var i=OpenLayers.Util.extend({},t);i.depth++;for(var r=0,s=e.length;r"+this.contentDiv.innerHTML+"",t=this.map?this.map.div:document.body,i=OpenLayers.Util.getRenderedDimensions(e,null,{displayClass:this.displayClass,containerElement:t}),r=this.getSafeContentSize(i),s=null,s=r.equals(i)?i:(i={w:r.we.w-this.map.paddingForPopups.right&&(i.x=e.w-this.map.paddingForPopups.right-this.size.w),t.ye.h-this.map.paddingForPopups.bottom&&(i.y=e.h-this.map.paddingForPopups.bottom-this.size.h),this.map.pan(t.x-i.x,t.y-i.y)},registerEvents:function(){this.events=new OpenLayers.Events(this,this.div,null,!0),this.events.on({mousedown:this.onmousedown,mousemove:this.onmousemove,mouseup:this.onmouseup,click:this.onclick,mouseout:this.onmouseout,dblclick:this.ondblclick,touchstart:function(e){OpenLayers.Event.stop(e,!0)},scope:this})},onmousedown:function(e){this.mousedown=!0,OpenLayers.Event.stop(e,!0)},onmousemove:function(e){this.mousedown&&OpenLayers.Event.stop(e,!0)},onmouseup:function(e){this.mousedown&&(this.mousedown=!1,OpenLayers.Event.stop(e,!0))},onclick:function(e){OpenLayers.Event.stop(e,!0)},onmouseout:function(){this.mousedown=!1},ondblclick:function(e){OpenLayers.Event.stop(e,!0)},CLASS_NAME:"OpenLayers.Popup"}),OpenLayers.Popup.WIDTH=200,OpenLayers.Popup.HEIGHT=200,OpenLayers.Popup.COLOR="white",OpenLayers.Popup.OPACITY=1,OpenLayers.Popup.BORDER="0px",OpenLayers.Popup.Anchored=OpenLayers.Class(OpenLayers.Popup,{relativePosition:null,keepInMap:!0,anchor:null,initialize:function(e,t,i,r,s,n,a){OpenLayers.Popup.prototype.initialize.apply(this,[e,t,i,r,n,a]),this.anchor=null!=s?s:{size:new OpenLayers.Size(0,0),offset:new OpenLayers.Pixel(0,0)}},destroy:function(){this.relativePosition=this.anchor=null,OpenLayers.Popup.prototype.destroy.apply(this,arguments)},show:function(){this.updatePosition(),OpenLayers.Popup.prototype.show.apply(this,arguments)},moveTo:function(e){var t=this.relativePosition;this.relativePosition=this.calculateRelativePosition(e),e=this.calculateNewPx(e),OpenLayers.Popup.prototype.moveTo.apply(this,Array(e)),this.relativePosition!=t&&this.updateRelativePosition()},setSize:function(e){OpenLayers.Popup.prototype.setSize.apply(this,arguments),this.lonlat&&this.map&&this.moveTo(this.map.getLayerPxFromLonLat(this.lonlat))},calculateRelativePosition:function(e){return e=this.map.getLonLatFromLayerPx(e),e=this.map.getExtent().determineQuadrant(e),OpenLayers.Bounds.oppositeQuadrant(e)},updateRelativePosition:function(){},calculateNewPx:function(e){var e=e.offset(this.anchor.offset),t=this.size||this.contentSize,i="t"==this.relativePosition.charAt(0);return e.y+=i?-t.h:this.anchor.size.h,i="l"==this.relativePosition.charAt(1),e.x+=i?-t.w:this.anchor.size.w,e},CLASS_NAME:"OpenLayers.Popup.Anchored"}),OpenLayers.Console.warn("OpenLayers.Rico is deprecated"),OpenLayers.Rico=OpenLayers.Rico||{},OpenLayers.Rico.Color=OpenLayers.Class({initialize:function(e,t,i){this.rgb={r:e,g:t,b:i}},setRed:function(e){this.rgb.r=e},setGreen:function(e){this.rgb.g=e},setBlue:function(e){this.rgb.b=e},setHue:function(e){var t=this.asHSB();t.h=e,this.rgb=OpenLayers.Rico.Color.HSBtoRGB(t.h,t.s,t.b)},setSaturation:function(e){var t=this.asHSB();t.s=e,this.rgb=OpenLayers.Rico.Color.HSBtoRGB(t.h,t.s,t.b)},setBrightness:function(e){var t=this.asHSB();t.b=e,this.rgb=OpenLayers.Rico.Color.HSBtoRGB(t.h,t.s,t.b)},darken:function(e){var t=this.asHSB();this.rgb=OpenLayers.Rico.Color.HSBtoRGB(t.h,t.s,Math.max(t.b-e,0))},brighten:function(e){var t=this.asHSB();this.rgb=OpenLayers.Rico.Color.HSBtoRGB(t.h,t.s,Math.min(t.b+e,1))},blend:function(e){this.rgb.r=Math.floor((this.rgb.r+e.rgb.r)/2),this.rgb.g=Math.floor((this.rgb.g+e.rgb.g)/2),this.rgb.b=Math.floor((this.rgb.b+e.rgb.b)/2)},isBright:function(){return this.asHSB(),.5"+e.innerHTML+""},_roundTopCorners:function(e,t,i){for(var r=this._createCorner(i),s=0;si&&(r=!1),r},CLASS_NAME:"OpenLayers.Handler.Point"}),OpenLayers.Handler.Path=OpenLayers.Class(OpenLayers.Handler.Point,{line:null,maxVertices:null,doubleTouchTolerance:20,freehand:!1,freehandToggle:"shiftKey",timerId:null,redoStack:null,createFeature:function(e){e=this.layer.getLonLatFromViewPortPx(e),e=new OpenLayers.Geometry.Point(e.lon,e.lat),this.point=new OpenLayers.Feature.Vector(e),this.line=new OpenLayers.Feature.Vector(new OpenLayers.Geometry.LineString([this.point.geometry])),this.callback("create",[this.point.geometry,this.getSketch()]),this.point.geometry.clearBounds(),this.layer.addFeatures([this.line,this.point],{silent:!0})},destroyFeature:function(e){OpenLayers.Handler.Point.prototype.destroyFeature.call(this,e),this.line=null},destroyPersistedFeature:function(){var e=this.layer;e&&2this.nbPoints&&this.points.pop()},end:function(e){for(var t,i,r=(new Date).getTime(),s=0,n=this.points.length;sthis.delay);s++)t=i;if(t&&(s=(new Date).getTime()-t.tick,!(0==(s=(r=Math.sqrt(Math.pow(e.x-t.xy.x,2)+Math.pow(e.y-t.xy.y,2)))/s)||s[x]')+'
',n&&(a+=''),a+=o.title=r,n&&(a+=""),a+="
",a+='
',a+=o.description=s,a+="
",o.popupContentHTML=a),l=new OpenLayers.Feature(this,l,o),this.features.push(l),(o=l.createMarker()).events.register("click",l,this.markerClick),this.addMarker(o))}this.events.triggerEvent("loadend")},markerClick:function(e){var t=this==this.layer.selectedFeature;this.layer.selectedFeature=t?null:this;for(var i=0,r=this.layer.map.popups.length;i=-this.MAX_PIXEL&&e<=this.MAX_PIXEL&&t>=-this.MAX_PIXEL&&t<=this.MAX_PIXEL},setExtent:function(e,t){var i=OpenLayers.Renderer.Elements.prototype.setExtent.apply(this,arguments),r=this.getResolution(),s=-e.left/r,r=e.top/r;return t?(this.left=s,this.top=r,this.rendererRoot.setAttributeNS(null,"viewBox","0 0 "+this.size.w+" "+this.size.h),this.translate(this.xOffset,0),!0):((s=this.translate(s-this.left+this.xOffset,r-this.top))||this.setExtent(e,!0),i&&s)},translate:function(e,t){if(this.inValidRange(e,t,!0)){var i=e||t?"translate("+e+","+t+")":"";return this.root.setAttributeNS(null,"transform",i),this.translationParameters={x:e,y:t},!0}return!1},setSize:function(e){OpenLayers.Renderer.prototype.setSize.apply(this,arguments),this.rendererRoot.setAttributeNS(null,"width",this.size.w),this.rendererRoot.setAttributeNS(null,"height",this.size.h)},getNodeType:function(e,t){var i=null;switch(e.CLASS_NAME){case"OpenLayers.Geometry.Point":i=t.externalGraphic?"image":this.isComplexSymbol(t.graphicName)?"svg":"circle";break;case"OpenLayers.Geometry.Rectangle":i="rect";break;case"OpenLayers.Geometry.LineString":i="polyline";break;case"OpenLayers.Geometry.LinearRing":i="polygon";break;case"OpenLayers.Geometry.Polygon":case"OpenLayers.Geometry.Curve":i="path"}return i},setStyle:function(e,t,i){var r,s,n,a,o,t=t||e._style,i=i||e._options,l=parseFloat(e.getAttributeNS(null,"r")),h=1;return"OpenLayers.Geometry.Point"==e._geometryClass&&l&&(e.style.visibility="",!1===t.graphic?e.style.visibility="hidden":t.externalGraphic?(n=this.getPosition(e),t.graphicTitle&&(e.setAttributeNS(null,"title",t.graphicTitle),0<(l=e.getElementsByTagName("title")).length?l[0].firstChild.textContent=t.graphicTitle:((l=this.nodeFactory(null,"title")).textContent=t.graphicTitle,e.appendChild(l))),t.graphicWidth&&t.graphicHeight&&e.setAttributeNS(null,"preserveAspectRatio","none"),l=t.graphicWidth||t.graphicHeight,r=t.graphicHeight||t.graphicWidth,l=l||2*t.pointRadius,r=r||2*t.pointRadius,a=null!=t.graphicYOffset?t.graphicYOffset:-.5*r,o=t.graphicOpacity||t.fillOpacity,e.setAttributeNS(null,"x",(n.x+(null!=t.graphicXOffset?t.graphicXOffset:-.5*l)).toFixed()),e.setAttributeNS(null,"y",(n.y+a).toFixed()),e.setAttributeNS(null,"width",l),e.setAttributeNS(null,"height",r),e.setAttributeNS(this.xlinkns,"href",t.externalGraphic),e.setAttributeNS(null,"style","opacity: "+o),e.onclick=OpenLayers.Renderer.SVG.preventDefault):this.isComplexSymbol(t.graphicName)?(r=2*(l=3*t.pointRadius),s=this.importSymbol(t.graphicName),n=this.getPosition(e),h=3*this.symbolMetrics[s.id][0]/r,a=e.parentNode,o=e.nextSibling,a&&a.removeChild(e),e.firstChild&&e.removeChild(e.firstChild),e.appendChild(s.firstChild.cloneNode(!0)),e.setAttributeNS(null,"viewBox",s.getAttributeNS(null,"viewBox")),e.setAttributeNS(null,"width",r),e.setAttributeNS(null,"height",r),e.setAttributeNS(null,"x",n.x-l),e.setAttributeNS(null,"y",n.y-l),o?a.insertBefore(e,o):a&&a.appendChild(e)):e.setAttributeNS(null,"r",t.pointRadius),void 0===(l=t.rotation)&&void 0===e._rotation||!n||(e._rotation=l,l|=0,"svg"!==e.nodeName?e.setAttributeNS(null,"transform","rotate("+l+" "+n.x+" "+n.y+")"):(n=this.symbolMetrics[s.id],e.firstChild.setAttributeNS(null,"transform","rotate("+l+" "+n[1]+" "+n[2]+")")))),i.isFilled?(e.setAttributeNS(null,"fill",t.fillColor),e.setAttributeNS(null,"fill-opacity",t.fillOpacity)):e.setAttributeNS(null,"fill","none"),i.isStroked?(e.setAttributeNS(null,"stroke",t.strokeColor),e.setAttributeNS(null,"stroke-opacity",t.strokeOpacity),e.setAttributeNS(null,"stroke-width",t.strokeWidth*h),e.setAttributeNS(null,"stroke-linecap",t.strokeLinecap||"round"),e.setAttributeNS(null,"stroke-linejoin","round"),t.strokeDashstyle&&e.setAttributeNS(null,"stroke-dasharray",this.dashStyle(t,h))):e.setAttributeNS(null,"stroke","none"),t.pointerEvents&&e.setAttributeNS(null,"pointer-events",t.pointerEvents),null!=t.cursor&&e.setAttributeNS(null,"cursor",t.cursor),e},dashStyle:function(e,t){var i=e.strokeWidth*t,r=e.strokeDashstyle;switch(r){case"solid":return"none";case"dot":return[1,4*i].join();case"dash":return[4*i,4*i].join();case"dashdot":return[4*i,4*i,1,4*i].join();case"longdash":return[8*i,4*i].join();case"longdashdot":return[8*i,4*i,1,4*i].join();default:return OpenLayers.String.trim(r).replace(/\s+/g,",")}},createNode:function(e,t){e=document.createElementNS(this.xmlns,e);return t&&e.setAttributeNS(null,"id",t),e},nodeTypeCompare:function(e,t){return t==e.nodeName},createRenderRoot:function(){var e=this.nodeFactory(this.container.id+"_svgRoot","svg");return e.style.display="block",e},createRoot:function(e){return this.nodeFactory(this.container.id+e,"g")},createDefs:function(){var e=this.nodeFactory(this.container.id+"_defs","defs");return this.rendererRoot.appendChild(e),e},drawPoint:function(e,t){return this.drawCircle(e,t,1)},drawCircle:function(e,t,i){var r=this.getResolution(),s=(t.x-this.featureDx)/r+this.left,t=this.top-t.y/r;return!!this.inValidRange(s,t)&&(e.setAttributeNS(null,"cx",s),e.setAttributeNS(null,"cy",t),e.setAttributeNS(null,"r",i),e)},drawLineString:function(e,t){t=this.getComponentsString(t.components);return!!t.path&&(e.setAttributeNS(null,"points",t.path),t.complete?e:null)},drawLinearRing:function(e,t){t=this.getComponentsString(t.components);return!!t.path&&(e.setAttributeNS(null,"points",t.path),t.complete?e:null)},drawPolygon:function(e,t){for(var i,r,s="",n=!0,a=!0,o=0,l=t.components.length;ol;)r.removeChild(r.lastChild);for(var h=0;h=i||0!==a)&&(a=Math.round(h._angle/i)*i-a,h._angle=0,h.box.geometry.rotate(a,r),h.transformFeature({rotation:a})))}for(var n,a,o,l=Array(8),p=Array(4),u="sw s se e ne n nw w".split(" "),c=0;c<8;++c)n=this.box.geometry.components[c],a=new OpenLayers.Feature.Vector(n.clone(),{role:u[c]+"-resize"},"string"==typeof this.renderIntent?null:this.renderIntent),0==c%2&&((o=new OpenLayers.Feature.Vector(n.clone(),{role:u[c]+"-rotate"},"string"==typeof this.rotationHandleSymbolizer?null:this.rotationHandleSymbolizer)).geometry.move=s,n._rotationHandle=o,p[c/2]=o),n.move=e,n.resize=t,n.rotate=i,a.geometry.move=r,n._handle=a,l[c]=a;this.rotationHandles=p,this.handles=l},createControl:function(){var r=this;this.dragControl=new OpenLayers.Control.DragFeature(this.layer,{documentDrag:!0,moveFeature:function(e){this.feature===r.feature&&(this.feature=r.box),OpenLayers.Control.DragFeature.prototype.moveFeature.apply(this,arguments)},onDrag:function(e){e===r.box&&r.transformFeature({center:r.center})},onStart:function(e){var t=!r.geometryTypes||-1!==OpenLayers.Util.indexOf(r.geometryTypes,e.geometry.CLASS_NAME),i=(i=OpenLayers.Util.indexOf(r.handles,e))+OpenLayers.Util.indexOf(r.rotationHandles,e);e!==r.feature&&e!==r.box&&-2==i&&t&&r.setFeature(e)},onComplete:function(){r.events.triggerEvent("transformcomplete",{feature:r.feature})}})},drawHandles:function(){for(var e=this.layer,t=0;t<8;++t)this.rotate&&0==t%2&&e.drawFeature(this.rotationHandles[t/2],this.rotationHandleSymbolizer),e.drawFeature(this.handles[t],this.renderIntent)},transformFeature:function(e){var t,i,r,s;this._setfeature||(this.scale*=e.scale||1,this.ratio*=e.ratio||1,t=this.rotation,this.rotation=(this.rotation+(e.rotation||0))%360,!1!==this.events.triggerEvent("beforetransform",e)&&(r=(i=this.feature).geometry,s=this.center,r.rotate(-t,s),e.scale||e.ratio?r.resize(e.scale,s,e.ratio):e.center&&i.move(e.center.getBounds().getCenterLonLat()),r.rotate(this.rotation,s),this.layer.drawFeature(i),i.toState(OpenLayers.State.UPDATE),this.events.triggerEvent("transform",e))),this.layer.drawFeature(this.box,this.renderIntent),this.drawHandles()},destroy:function(){for(var e,t=0;t<8;++t)(e=this.box.geometry.components[t])._handle.destroy(),e._handle=null,e._rotationHandle&&e._rotationHandle.destroy(),e._rotationHandle=null;this.rotationHandles=this.rotationHandleSymbolizer=this.handles=this.feature=this.center=null,this.box.destroy(),this.layer=this.box=null,this.dragControl.destroy(),this.dragControl=null,OpenLayers.Control.prototype.destroy.apply(this,arguments)},CLASS_NAME:"OpenLayers.Control.TransformFeature"}),OpenLayers.Handler.Box=OpenLayers.Class(OpenLayers.Handler,{dragHandler:null,boxDivClassName:"olHandlerBoxZoomBox",boxOffsets:null,initialize:function(e,t,i){OpenLayers.Handler.prototype.initialize.apply(this,arguments),this.dragHandler=new OpenLayers.Handler.Drag(this,{down:this.startBox,move:this.moveBox,out:this.removeBox,up:this.endBox},{keyMask:this.keyMask})},destroy:function(){OpenLayers.Handler.prototype.destroy.apply(this,arguments),this.dragHandler&&(this.dragHandler.destroy(),this.dragHandler=null)},setMap:function(e){OpenLayers.Handler.prototype.setMap.apply(this,arguments),this.dragHandler&&this.dragHandler.setMap(e)},startBox:function(){this.callback("start",[]),this.zoomBox=OpenLayers.Util.createDiv("zoomBox",{x:-9999,y:-9999}),this.zoomBox.className=this.boxDivClassName,this.zoomBox.style.zIndex=this.map.Z_INDEX_BASE.Popup-1,this.map.viewPortDiv.appendChild(this.zoomBox),OpenLayers.Element.addClass(this.map.viewPortDiv,"olDrawBox")},moveBox:function(e){var t=this.dragHandler.start.x,i=this.dragHandler.start.y,r=Math.abs(t-e.x),s=Math.abs(i-e.y),n=this.getBoxOffsets();this.zoomBox.style.width=r+n.width+1+"px",this.zoomBox.style.height=s+n.height+1+"px",this.zoomBox.style.left=(e.x=this.down.xy.distanceTo(e.xy))&&this.touch&&this.down.touches.length===this.last.touches.length)for(var e=0,i=this.down.touches.length;ethis.pixelTolerance){t=!1;break}return t},getTouchDistance:function(e,t){return Math.sqrt(Math.pow(e.clientX-t.clientX,2)+Math.pow(e.clientY-t.clientY,2))},passesDblclickTolerance:function(){var e=!0;return this.down&&this.first&&(e=this.down.xy.distanceTo(this.first.xy)<=this.dblclickTolerance),e},clearTimer:function(){null!=this.timerId&&(window.clearTimeout(this.timerId),this.timerId=null),null!=this.rightclickTimerId&&(window.clearTimeout(this.rightclickTimerId),this.rightclickTimerId=null)},delayedCall:function(e){this.timerId=null,e&&this.callback("click",[e])},getEventInfo:function(e){if(e.touches)for(var t,i=e.touches.length,r=Array(i),s=0;s=this.resFactor||e<=1/this.resFactor),e},calculateBounds:function(e){var t=(e=e||this.getMapBounds()).getCenterLonLat(),i=e.getWidth()*this.ratio,e=e.getHeight()*this.ratio;this.bounds=new OpenLayers.Bounds(t.lon-i/2,t.lat-e/2,t.lon+i/2,t.lat+e/2)},triggerRead:function(e){!this.response||e&&!0===e.noAbort||(this.layer.protocol.abort(this.response),this.layer.events.triggerEvent("loadend")),this.layer.events.triggerEvent("loadstart"),this.response=this.layer.protocol.read(OpenLayers.Util.applyDefaults({filter:this.createFilter(),callback:this.merge,scope:this},e))},createFilter:function(){var e=new OpenLayers.Filter.Spatial({type:OpenLayers.Filter.Spatial.BBOX,value:this.bounds,projection:this.layer.projection});return this.layer.filter&&(e=new OpenLayers.Filter.Logical({type:OpenLayers.Filter.Logical.AND,filters:[this.layer.filter,e]})),e},merge:function(e){if(this.layer.destroyFeatures(),(e=e.features)&&0"+a.attributes.title+"

"+a.attributes.description+"

"),n.overflow=a.attributes.overflow||"auto",n=new OpenLayers.Feature(this,o,n),this.features.push(n),o=n.createMarker(),null!=a.attributes.title&&null!=a.attributes.description&&o.events.register("click",n,this.markerClick),this.addMarker(o)}this.events.triggerEvent("loadend")},markerClick:function(e){var t=this==this.layer.selectedFeature;this.layer.selectedFeature=t?null:this;for(var i=0,r=this.layer.map.popups.length;ithis.maxGetUrlLength,e=t&&!this.useIFrame,t=!t&&this.useIFrame,(e||t)&&(this.imgDiv&&this.imgDiv.parentNode===this.frame&&this.frame.removeChild(this.imgDiv),this.imgDiv=null,e?(this.blankImageUrl=this._blankImageUrl,this.frame.removeChild(this.frame.firstChild)):(this._blankImageUrl=this.blankImageUrl,this.blankImageUrl="about:blank"))),OpenLayers.Tile.Image.prototype.draw.apply(this,arguments)},getImage:function(){return!0!==this.useIFrame?OpenLayers.Tile.Image.prototype.getImage.apply(this,arguments):(this.frame.childNodes.length||((t=(e=document.createElement("div")).style).position="absolute",t.width="100%",t.height="100%",t.zIndex=1,t.backgroundImage="url("+this._blankImageUrl+")",this.frame.appendChild(e)),e=this.id+"_iFrame",parseFloat(navigator.appVersion.split("MSIE")[1])<9?((t=document.createElement('