maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Maposmatic-dev] [PATCH 1/2] Fix the slippy map display bug.


From: David MENTRE
Subject: Re: [Maposmatic-dev] [PATCH 1/2] Fix the slippy map display bug.
Date: Wed, 9 Sep 2009 14:01:39 +0200

Hello Maxime,

2009/9/9 Maxime Petazzoni <address@hidden>:
> ---
>  www/media/osm_map.js |    2 --
>  www/media/style.css  |    2 --
>  2 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/www/media/osm_map.js b/www/media/osm_map.js
> index b31fd98..3bf116c 100644
> --- a/www/media/osm_map.js
> +++ b/www/media/osm_map.js
> @@ -70,7 +70,6 @@ function init()
>         maxExtent: new 
> OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
>         numZoomLevels: 18,
>         maxResolution: 156543.0399,
> -        units: 'm',
>         projection: epsg_projection,
>         displayProjection: epsg_display_projection
>     } );
> @@ -81,6 +80,5 @@ function init()
>     map.events.register('zoomend', map, updateForm);
>     map.events.register('moveend', map, updateForm);
>     updateMap();
> -    map.zoomTo(5);
>  }
>
> diff --git a/www/media/style.css b/www/media/style.css
> index f786db0..0140690 100644
> --- a/www/media/style.css
> +++ b/www/media/style.css
> @@ -173,8 +173,6 @@ table#mapform td
>   padding: 3px;
>  }
>
> -tr.byadmin, tr.bybbox { display: none; vertical-align: top; }
> -
>  table#mapform tr.label
>  {
>   font-weight: bold;

Is the display bug related to the CSS or osm_map.js code or both?

Yours,
d.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]