Skip to content

Commit

Permalink
hover functionality added back in tidy up added
Browse files Browse the repository at this point in the history
  • Loading branch information
danhillcode committed Jul 7, 2017
1 parent 36b9cf9 commit f78b61c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Clustering/clustering2.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ <h1 class="sidebar-header">
var popup = L.popup()

.setLatLng(e.latlng)
.setContent( data.feature.properties.name + "</br>" + "</br>" + "Click for more information")
.setContent( "<b>" + data.feature.properties.name + "</b>" + "</br>" + "</br>" + "<i>Click for more information<i>")
.openOn(map);
});

Expand Down Expand Up @@ -493,7 +493,7 @@ <h1 class="sidebar-header">

map.addLayer(leafletView);





Expand Down
7 changes: 4 additions & 3 deletions Clustering/css/mystyle2.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@

.leaflet-popup-content {
max-width: 300px;
height: 100px;
margin-right: 17px;
height: 70px;
margin-right: 10px;
overflow: auto;
font-weight: bold;

font-size: 110%;
text-align: center;

}

#map {
Expand Down

0 comments on commit f78b61c

Please sign in to comment.