X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/50c754061c00a47ea0990c014bb7faf8f83fe79a..1120eb77ffab476d9f5de589691d555ba64b8da1:/public/export/embed.html
diff --git a/public/export/embed.html b/public/export/embed.html
index 11c0a02ee..3559f8f35 100644
--- a/public/export/embed.html
+++ b/public/export/embed.html
@@ -1,105 +1,67 @@
+
+
+ OpenStreetMap Embedded
-
-
-
+
+
- var params = OpenLayers.Util.getParameters(this.base);
-
- params.zoom = this.map.getZoom();
- var lat = center.lat;
- var lon = center.lon;
-
- if (this.displayProjection) {
- var mapPosition = OpenLayers.Projection.transform(
- { x: lon, y: lat },
- this.map.getProjectionObject(),
- this.displayProjection );
- lon = mapPosition.x;
- lat = mapPosition.y;
- }
-
- if (this.map.marker) {
- params.lat = Math.round(lat*100000)/100000;
- params.lon = Math.round(lon*100000)/100000;
- } else {
- params.mlat = Math.round(lat*100000)/100000;
- params.mlon = Math.round(lon*100000)/100000;
- }
+
+
+
-
-
-