From 1831c513ce689da73e36f175eef96350b18ef6d4 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Wed, 23 Nov 2016 15:34:55 +0100
Subject: [PATCH] missing functions retrieving map bounds added

---
 frontend-js/src/main/js/map/AbstractCustomMap.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/frontend-js/src/main/js/map/AbstractCustomMap.js b/frontend-js/src/main/js/map/AbstractCustomMap.js
index 65741ab9cb..3611627375 100644
--- a/frontend-js/src/main/js/map/AbstractCustomMap.js
+++ b/frontend-js/src/main/js/map/AbstractCustomMap.js
@@ -957,4 +957,12 @@ AbstractCustomMap.prototype.isDebug = function() {
   return this.debug === true;
 };
 
+AbstractCustomMap.prototype.getTopLeftLatLng = function() {
+  return this.getModel().getTopLeftLatLng();
+};
+
+AbstractCustomMap.prototype.getBottomRightLatLng = function() {
+  return this.getModel().getBottomRightLatLng();
+};
+
 module.exports = AbstractCustomMap;
-- 
GitLab