Improve placement of map controls and popovers (fixes #272)
This commit is contained in:
parent
7021af8e14
commit
5774a52773
|
@ -1,15 +1,10 @@
|
|||
import React, { useState, useCallback, useMemo, useEffect } from "react";
|
||||
import classnames from "classnames";
|
||||
import { connect } from "react-redux";
|
||||
import _ from "lodash";
|
||||
import ReactMapGl, {
|
||||
WebMercatorViewport,
|
||||
ScaleControl,
|
||||
NavigationControl,
|
||||
AttributionControl,
|
||||
} from "react-map-gl";
|
||||
import turfBbox from "@turf/bbox";
|
||||
import { useHistory, useLocation } from "react-router-dom";
|
||||
import React, {useState, useCallback, useMemo, useEffect} from 'react'
|
||||
import classnames from 'classnames'
|
||||
import {connect} from 'react-redux'
|
||||
import _ from 'lodash'
|
||||
import ReactMapGl, {WebMercatorViewport, ScaleControl, NavigationControl, AttributionControl} from 'react-map-gl'
|
||||
import turfBbox from '@turf/bbox'
|
||||
import {useHistory, useLocation} from 'react-router-dom'
|
||||
|
||||
import { useConfig } from "config";
|
||||
|
||||
|
|
|
@ -336,8 +336,8 @@ function MapPage({ login }) {
|
|||
<Button
|
||||
style={{
|
||||
position: "absolute",
|
||||
left: 44,
|
||||
top: 9,
|
||||
left: 16,
|
||||
top: 16,
|
||||
}}
|
||||
primary
|
||||
icon="bars"
|
||||
|
|
Loading…
Reference in a new issue