clean up 76/96776/1
authorchanywa <cbible.kim@samsung.com>
Thu, 10 Nov 2016 06:32:35 +0000 (15:32 +0900)
committerchanywa <cbible.kim@samsung.com>
Thu, 10 Nov 2016 06:32:35 +0000 (15:32 +0900)
Change-Id: I98a3b9dbdd99d936498532e3b80594c77bb13aa6

inc/here_view.h
packaging/maps-plugin-here.spec
src/here_view.cpp

index a29884a..6a5974c 100644 (file)
@@ -92,7 +92,6 @@ private:
        bool __isInitialized;
 
        int __x, __y, __w, __h;
-       double __lat, __lng, __zoom, __angle;
 
        HereViewObjects __visualObjects;
        PendingObjects __pendingObjects;
index 9ff7cf6..25db499 100644 (file)
@@ -27,7 +27,6 @@ BuildRequires: pkgconfig(vconf)
 BuildRequires: pkgconfig(appcore-efl)
 BuildRequires: pkgconfig(ecore)
 BuildRequires: pkgconfig(evas)
-BuildRequires: pkgconfig(efl-extension)
 BuildRequires: pkgconfig(edje)
 BuildRequires: gettext-tools
 BuildRequires: edje-bin
index 33c7ee7..b18f4d9 100644 (file)
@@ -42,11 +42,6 @@ HereView::HereView()
        __w = 0;
        __h = 0;
 
-       __lat = 0.;
-       __lng = 0.;
-       __zoom = 0.;
-       __angle = 0.;
-
        __idler = NULL;
        __redraw = false;
        __readyCb = NULL;
@@ -317,13 +312,11 @@ here_error_e HereView::renderMap(maps_view_h view, const maps_coordinates_h coor
 
        /* zoom level */
        if (__map->GetZoomLevel() != zoom) {
-               __zoom = zoom;
                __map->SetZoomLevel(zoom, false);
        }
 
        /* angle */
-       if (__angle != angle) {
-               __angle = angle;
+       if (__map->GetAngle() != angle) {
                __map->SetAngle(angle);
        }
 
@@ -333,8 +326,6 @@ here_error_e HereView::renderMap(maps_view_h view, const maps_coordinates_h coor
        maps_coordinates_get_longitude(coord, &lng);
 
        GeoCoordinates geoCoord(lat, lng);
-       __lat = lat;
-       __lng = lng;
        __map->SetCenter(geoCoord);
 
        return HERE_ERROR_NONE;