Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x3domlet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Elphel
x3domlet
Commits
6b24e71d
Commit
6b24e71d
authored
Jun 03, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
map markers testing only
parent
4cbbe6ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
1 deletion
+37
-1
map.css
js/map.css
+35
-1
map.js
js/map.js
+1
-0
map.html
map.html
+1
-0
No files found.
js/map.css
View file @
6b24e71d
...
...
@@ -10,9 +10,15 @@ html, body, #leaflet_map {
.measurementtooltip
{
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
padding
:
0px
3px
;
margin
:
14px
0px
0px
5px
;
/* margin:20px 0px 0px 7px; */
font-weight
:
normal
;
border-radius
:
1px
;
font-size
:
16px
;
display
:
block
;
position
:
absolute
;
top
:
16px
;
left
:
3px
;
}
.leaflet-tooltip-left.measurementtooltip
::before
{
...
...
@@ -23,4 +29,32 @@ html, body, #leaflet_map {
.leaflet-tooltip-right.measurementtooltip
::before
{
border
:
0px
;
border-right-color
:
cyan
;
}
.hcontrol-button
{
background-color
:
red
;
}
.hcontrol-button
:hover
{
background-color
:
red
;
}
.leaflet-interactive
img
{
user-select
:
none
;
pointer-events
:
none
;
}
.leaflet-interactive
path
{
user-select
:
none
;
pointer-events
:
none
;
}
.leaflet-tooltip-pane
{
z-index
:
350
;
}
.leaflet-control-zoom-in
,
.leaflet-control-zoom-out
{
user-select
:
none
;
}
.leaflet-control-zoom
{
user-select
:
none
;
}
\ No newline at end of file
js/map.js
View file @
6b24e71d
...
...
@@ -96,6 +96,7 @@ function drawCamera(basepoint){
fillOpacity
:
0.5
,
radius
:
10
,
heading
:
45
,
h_control
:
true
,
fov
:
45
*
Math
.
PI
/
180
,
id
:
"basecircle"
}).
addTo
(
map
);
...
...
map.html
View file @
6b24e71d
...
...
@@ -5,6 +5,7 @@
<meta
charset=
"utf-8"
/>
<script
type=
'text/javascript'
src=
'js/jquery-3.1.1.js'
></script>
<script
type=
'text/javascript'
src=
'js/leaflet/leaflet-src.js'
></script>
<script
type=
'text/javascript'
src=
'js/leaflet/leaflet.camera-view-marker-controls.js'
></script>
<script
type=
'text/javascript'
src=
'js/leaflet/leaflet.camera-view-marker.js'
></script>
<script
type=
'text/javascript'
src=
'js/leaflet/leaflet.camera-view-marker.measure.js'
></script>
<script
type=
'text/javascript'
src=
'js/map.js'
></script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment