Yeah, I wish. Still working! This was just for fun ;)


On Sat, May 10, 2014 at 2:25 AM, Andrzej <notifications@github.com> wrote:

> In lib/renderMap.js:
>
> > @@ -165,9 +164,8 @@ function getZoomLevel(zoom, minZoom, maxZoom) {
> >   * @param latitude {number}
> >   * @returns {number}
> >   */
> > -function getLatitude(latitude) {
> > -	// TODO: Figure out default latitude
> > -	return parseFloat(latitude) || 0;
> > +function getLatitude(latitude, baundaries) {
> > +	return parseFloat(latitude, 10) || Math.ceil((baundaries.north - baundaries.south) / 2);
>
> I agree [image: :see_no_evil:]
>
> [image: :grinning:] There is nothing better than doing some code review
> after good Friday party... am I right, Igor? [image: :speak_no_evil:][image:
> :dash:]
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Wikia/interactive-maps/pull/61/files#r12501039>
> .
>