-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
admin
authored and
admin
committed
Apr 24, 2018
1 parent
9ac38d0
commit 41311d0
Showing
14 changed files
with
927 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
styleBtn.addEventListener("click", function(){ | ||
console.log(document.getElementById("style-img").src == "./images/pngs/listBtn.png"); | ||
if(document.getElementById("style-type").innerHTML == "List View") { | ||
document.getElementById('view-type').classList.remove("d-lg-none"); | ||
document.getElementById('view-type').classList.remove("d-md-none"); | ||
document.getElementById('view-type').classList.remove("d-sm-none"); | ||
document.getElementById('view-type').classList.add("col-lg-6"); | ||
document.getElementById('view-type').classList.add("col-md-6"); | ||
document.getElementById('view-type').classList.add("col-sm-6"); | ||
document.getElementById('mapfit').classList.remove("col-lg-12"); | ||
document.getElementById('mapfit').classList.remove("col-md-12"); | ||
document.getElementById('mapfit').classList.remove("col-sm-12"); | ||
document.getElementById('mapfit').classList.add("col-lg-6") | ||
document.getElementById('mapfit').classList.add("col-sm-6") | ||
document.getElementById('mapfit').classList.add("col-md-6") | ||
document.getElementById("style-type").innerHTML = "Map View" | ||
map.setCenter([40.714997, -73.985367], 0) | ||
map.setLatLngBounds(currentBounds,80,80); | ||
}else{ | ||
document.getElementById('view-type').classList.add("d-lg-none"); | ||
document.getElementById('view-type').classList.add("d-md-none"); | ||
document.getElementById('view-type').classList.add("d-sm-none"); | ||
document.getElementById('view-type').classList.remove("col-lg-6"); | ||
document.getElementById('view-type').classList.remove("col-md-6"); | ||
document.getElementById('view-type').classList.remove("col-sm-6"); | ||
document.getElementById('mapfit').classList.add("col-lg-12"); | ||
document.getElementById('mapfit').classList.add("col-md-12"); | ||
document.getElementById('mapfit').classList.add("col-sm-12"); | ||
document.getElementById('mapfit').classList.remove("col-lg-6") | ||
document.getElementById('mapfit').classList.remove("col-sm-6") | ||
document.getElementById('mapfit').classList.remove("col-md-6") | ||
document.getElementById("style-type").innerHTML = "List View" | ||
listOpen = false; | ||
}; | ||
|
||
if(document.getElementById("style-img").src.includes("pngs/listBtn.png")){ | ||
document.getElementById("style-img").src = "./images/pngs/mapviewBtn.png" | ||
}else{ | ||
document.getElementById("style-img").src = "./images/pngs/listBtn.png" | ||
}; | ||
|
||
}) | ||
|
||
gitLogo.addEventListener("mouseover", function(){ | ||
this.src = "./images/pngs/git-logo-hover.png" | ||
}) | ||
gitLogo.addEventListener("mouseout", function(){ | ||
this.src = "./images/pngs/git-logo.png" | ||
}) | ||
|
||
appHeader.addEventListener("click",function(){ | ||
detailPage.style.display = "none" | ||
app.style.display = "flex" | ||
listingLocation.innerHTML = "" | ||
}) |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
# Mapfit Grayscale Theme | ||
# Last updated Mar 19, 2018 | ||
|
||
import: | ||
- https://cdn.mapfit.com/v2-3/themes/mapfit-base-theme.yaml | ||
|
||
global: | ||
|
||
####### ALL COLOR VARIABLES ####### | ||
|
||
# TEXT | ||
text_fill: rgb(126, 126, 126) | ||
text_outline: rgba(255, 255, 255,.75) | ||
text_fill_neighborhoods: rgba(143, 156, 179, 1) | ||
text_fill_water: rgb(126, 126, 126) | ||
text_outline_water: rgba(255, 255, 255,.75) | ||
text_fill_parks: rgb(126, 126, 126) | ||
text_outline_parks: rgba(255, 255, 255,.75) | ||
text_beach_fill: rgb(126, 126, 126) | ||
text_beach_outline: rgba(255, 255, 255,.75) | ||
text_highway_fill: rgb(126, 126, 126) | ||
text_highway_outline: rgba(255, 255, 255,.75) | ||
text_highway_exits: rgb(126, 126, 126) | ||
text_signs_fill: rgba(255, 255, 255, 1) | ||
|
||
# ROADS | ||
highway_fill: rgb(255, 255, 255) | ||
highway_outline: rgb(255, 255, 255) | ||
road_fill: rgb(255, 255, 255) | ||
road_outline: rgb(255, 255, 255) | ||
tunnel_fill: rgba(223, 223, 223,1) | ||
tunnel_outline: rgba(223, 223, 223,1) | ||
road_directional_arrows_fill: rgb(240, 240, 240) | ||
pedestrian_path_fill: rgba(255, 255, 255,1) | ||
pedestrian_path_outline: rgba(255, 255, 255,1) | ||
pedestrian_steps_fill: rgba(242, 242, 242,1) | ||
roads_in_park_fill: rgb(200, 200, 200) | ||
roads_in_cemetary_fill: rgba(255, 255, 255,1) | ||
|
||
# WATER | ||
ocean_fill: rgb(241, 241, 241) | ||
water_fill: rgb(241, 241, 241) | ||
|
||
# LAND | ||
map_background_fill: rgba(255, 255, 255,1) | ||
land_fill: rgb(221, 221, 221) | ||
parks_fill: rgba(182, 182, 182, 1.00) | ||
cemetary_fill: rgba(209, 209, 209, 1.00) | ||
protected_area_fill: rgba(182, 182, 182, 1.00) | ||
special_parks_fill: rgba(182, 182, 182, 1.00) | ||
stadium_fill: rgba(182, 182, 182, 1.00) | ||
playground_fill: rgba(182, 182, 182, 1.00) | ||
beach_fill: rgba(182, 182, 182, 1.00) | ||
military_fill: rgba(200, 200, 200, 1.00) | ||
|
||
# BUILDINGS | ||
building_fill: rgb(239, 239, 239) | ||
building_outline: rgb(206, 206, 206) | ||
|
||
# AIRPORTS | ||
airport_road_fill: rgba(125, 125, 125, 1.00) | ||
airport_land_fill: rgba(180, 179, 180, 1.00) | ||
|
||
# EDUCATION | ||
university_fill: rgba(182, 182, 182, 1.00) | ||
school_fill: rgb(221, 221, 221) | ||
|
||
# HOSPITALS | ||
hospital_fill: rgba(164, 164, 164, 1.00) | ||
|
||
# FEATURES | ||
ferry_fill: rgba(125, 125, 125, 1.00) | ||
railways_fill: rgba(223, 223, 223,1) | ||
special_pedestrian_area_fill: rgba(210, 210, 210,1) | ||
parking_fill: rgba(200, 200, 200,1) | ||
urbanization_fill: rgba(200, 200, 200,1) | ||
winter_sports_area_fill: rgba(236, 235, 232,1) | ||
tourism_area_fill: rgba(210, 210, 210,1) | ||
|
||
# BOUNDARIES | ||
region_boundary_fill: rgba(153, 153, 153,1) | ||
city_wall_fill: rgba(200, 200, 200,1) | ||
|
||
|
||
####### ALL SHOW/HIDE VARIABLES ####### | ||
|
||
show_transit: true # public transit visibility | ||
show_3d_buildings: false # 3D building visibility | ||
show_special_areas: true # show commercial, retail, pedestrian areas | ||
show_parking_areas: true # show parking areas | ||
|
||
|
||
# CAMERA OPTIONS (IF 3D BUILDINGS ARE ON) | ||
|
||
cameras: | ||
master: | ||
type: perspective # choose between perspective, isometric, or flat | ||
|
||
textures: | ||
pois: | ||
url: https://cdn.mapfit.com/v2-3/themes/images/refill-gray@2x.png |
Oops, something went wrong.