New improved geocoder with extra added AJAX and OSM Namefinder support.
This commit is contained in:
parent
e8809a10f5
commit
397db07d65
8 changed files with 342 additions and 251 deletions
|
@ -70,3 +70,17 @@ function setArgs(url, args) {
|
|||
|
||||
return url.replace(/\?.*$/, "") + "?" + queryitems.join("&");
|
||||
}
|
||||
|
||||
function getStyle(el, property) {
|
||||
var style;
|
||||
|
||||
if (el.currentStyle) {
|
||||
style = el.currentStyle[property];
|
||||
} else if( window.getComputedStyle ) {
|
||||
style = document.defaultView.getComputedStyle(el,null).getPropertyValue(property);
|
||||
} else {
|
||||
style = el.style[property];
|
||||
}
|
||||
|
||||
return style;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue