From f78b61cf875ce53e59d5775c7e50945549bb0e6d Mon Sep 17 00:00:00 2001 From: danhillcode Date: Fri, 7 Jul 2017 15:17:52 +0100 Subject: [PATCH] hover functionality added back in tidy up added --- Clustering/clustering2.html | 4 ++-- Clustering/css/mystyle2.css | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Clustering/clustering2.html b/Clustering/clustering2.html index de25e13..6a12e6e 100644 --- a/Clustering/clustering2.html +++ b/Clustering/clustering2.html @@ -451,7 +451,7 @@

var popup = L.popup() .setLatLng(e.latlng) - .setContent( data.feature.properties.name + "
" + "
" + "Click for more information") + .setContent( "" + data.feature.properties.name + "" + "
" + "
" + "Click for more information") .openOn(map); }); @@ -493,7 +493,7 @@

map.addLayer(leafletView); - + diff --git a/Clustering/css/mystyle2.css b/Clustering/css/mystyle2.css index 5a496f3..72e99ad 100644 --- a/Clustering/css/mystyle2.css +++ b/Clustering/css/mystyle2.css @@ -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 {