From 0501de21ab607bf7cdf2213a62ede57b5928f00b Mon Sep 17 00:00:00 2001 From: TheMrNomis Date: Thu, 21 Apr 2016 11:24:44 +0200 Subject: [PATCH 1/2] ajout d'une image pour le chargement de la carte --- .DS_Store | Bin 6148 -> 6148 bytes event.css | 6 + event.php | 2 +- images/OSM.svg | 316 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 323 insertions(+), 1 deletion(-) create mode 100644 images/OSM.svg diff --git a/.DS_Store b/.DS_Store index cb59d0ec0ac308e45a86a2f761738c8cb83d9221..b390b6f257ab385e121cb4af563cc63ab9b89aa1 100644 GIT binary patch delta 39 vcmZoMXfc@J&&awlU^g=(>t-Gn7DmpL;^ds9{QMlo%}lKCm^QO>{N)D#

-

+

Date et lieu

diff --git a/images/OSM.svg b/images/OSM.svg new file mode 100644 index 0000000..c5e9a6a --- /dev/null +++ b/images/OSM.svg @@ -0,0 +1,316 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 010110010011010110010011 + 010110010011010110010011 + + + From f55a9af93476903b138b9ed3fdd083cab6608d0a Mon Sep 17 00:00:00 2001 From: TheMrNomis Date: Thu, 21 Apr 2016 11:39:14 +0200 Subject: [PATCH 2/2] updated the map --- event.css | 5 ++++- event.php | 21 ++++++++++----------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/event.css b/event.css index 36080e0..73a9cfd 100755 --- a/event.css +++ b/event.css @@ -37,7 +37,10 @@ h1 img margin-bottom:-100px; } -iframe { +#map { + width: 100%; + height: 500px; + margin-bottom: -30px; background-image: url("images/OSM.svg"); background-repeat: no-repeat; background-position: center; diff --git a/event.php b/event.php index 6735cb4..7a4ac62 100755 --- a/event.php +++ b/event.php @@ -22,6 +22,9 @@ $dtend = strtotime($event['event_dtend']); + + + @@ -34,17 +37,16 @@ $dtend = strtotime($event['event_dtend']);
- '.$event["event_localisation"].'
'; +
+'; - + $urlFrame = 'https://www.openstreetmap.org/export/embed.html?bbox='.$lng.','.$lat.','.$lng.','.$lat.'&layer=mapnik&floor&marker='.$lat.','.$lng; +?> + ; +

Description

'; if(isset($event["event_urlImage"])) @@ -58,11 +60,8 @@ $dtend = strtotime($event['event_dtend']); echo ''; if(isset($event["event_contact"])) echo ''; - ?> + ?> - - -