Package com.kakao.vectormap.internal
Class KakaoMapDelegate
- java.lang.Object
-
- com.kakao.vectormap.internal.RenderViewDelegate
-
- com.kakao.vectormap.internal.KakaoMapDelegate
-
- All Implemented Interfaces:
IKakaoMapDelegate
,IRenderViewDelegate
,ITrackingDelegate
public class KakaoMapDelegate extends RenderViewDelegate implements IKakaoMapDelegate, ITrackingDelegate
-
-
Method Summary
-
Methods inherited from class com.kakao.vectormap.internal.RenderViewDelegate
getLogo, getTag, getViewName, getViewport, isDev, isVisible, setTag, setViewport, setViewport, setViewport, setVisible
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.kakao.vectormap.internal.IKakaoMapDelegate
getTag, getViewName, getViewport, isDev, isVisible, setTag, setViewport, setViewport, setViewport, setVisible
-
Methods inherited from interface com.kakao.vectormap.internal.IRenderViewDelegate
getLogo
-
-
-
-
Method Detail
-
getZoomLevel
public int getZoomLevel() throws java.lang.RuntimeException
- Specified by:
getZoomLevel
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setPadding
public void setPadding(int left, int top, int right, int bottom) throws java.lang.RuntimeException
- Specified by:
setPadding
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getPadding
public Padding getPadding() throws java.lang.RuntimeException
- Specified by:
getPadding
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getMapPoint
public LatLng getMapPoint(int x, int y) throws java.lang.RuntimeException
- Specified by:
getMapPoint
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getScreenPoint
public Point getScreenPoint(LatLng position) throws java.lang.RuntimeException
- Specified by:
getScreenPoint
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
moveCamera
public void moveCamera(CameraUpdate cameraUpdate) throws java.lang.RuntimeException
- Specified by:
moveCamera
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getCameraPosition
public CameraPosition getCameraPosition() throws java.lang.RuntimeException
- Specified by:
getCameraPosition
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
requestCameraPosition
public void requestCameraPosition(KakaoMap.OnCameraPositionListener listener) throws java.lang.RuntimeException
- Specified by:
requestCameraPosition
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
animateCamera
public void animateCamera(CameraUpdate cameraUpdate, int duration, boolean autoElevation, boolean isConsecutive)
- Specified by:
animateCamera
in interfaceIKakaoMapDelegate
-
setBuildingHeightScale
public void setBuildingHeightScale(float scale) throws java.lang.RuntimeException
- Specified by:
setBuildingHeightScale
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getBuildingHeightScale
public float getBuildingHeightScale() throws java.lang.RuntimeException
- Specified by:
getBuildingHeightScale
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setLogoPosition
public void setLogoPosition(int gravity, float x, float y) throws java.lang.RuntimeException
- Specified by:
setLogoPosition
in interfaceIRenderViewDelegate
- Specified by:
setLogoPosition
in classRenderViewDelegate
- Throws:
java.lang.RuntimeException
-
setCompassVisible
public void setCompassVisible(boolean visible) throws java.lang.RuntimeException
- Specified by:
setCompassVisible
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setCompassPosition
public void setCompassPosition(int gravity, float x, float y) throws java.lang.RuntimeException
- Specified by:
setCompassPosition
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setCompassBackToNorth
public void setCompassBackToNorth(boolean backToNorth) throws java.lang.RuntimeException
- Specified by:
setCompassBackToNorth
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getCompass
public Compass getCompass() throws java.lang.RuntimeException
- Specified by:
getCompass
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getCompass
public Compass getCompass(boolean backToNorthOnClick) throws java.lang.RuntimeException
- Specified by:
getCompass
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getScaleBar
public ScaleBar getScaleBar() throws java.lang.RuntimeException
- Specified by:
getScaleBar
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getScaleBar
public ScaleBar getScaleBar(boolean autoHide) throws java.lang.RuntimeException
- Specified by:
getScaleBar
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setScaleBarVisible
public void setScaleBarVisible(boolean visible) throws java.lang.RuntimeException
- Specified by:
setScaleBarVisible
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setScaleBarPosition
public void setScaleBarPosition(int gravity, float x, float y) throws java.lang.RuntimeException
- Specified by:
setScaleBarPosition
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setScaleBarAutoHide
public void setScaleBarAutoHide(boolean autoHide) throws java.lang.RuntimeException
- Specified by:
setScaleBarAutoHide
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setScaleBarFadeInOutTime
public void setScaleBarFadeInOutTime(int fadeInTime, int fadeOutTime, int retentionTime) throws java.lang.RuntimeException
- Specified by:
setScaleBarFadeInOutTime
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getCameraMinZoomLevel
public int getCameraMinZoomLevel() throws java.lang.RuntimeException
- Specified by:
getCameraMinZoomLevel
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getMapViewInfo
public MapViewInfo getMapViewInfo() throws java.lang.RuntimeException
- Specified by:
getMapViewInfo
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getMinZoomLevel
public int getMinZoomLevel() throws java.lang.RuntimeException
- Specified by:
getMinZoomLevel
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getMaxZoomLevel
public int getMaxZoomLevel() throws java.lang.RuntimeException
- Specified by:
getMaxZoomLevel
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnPoiClickListener
public void setOnPoiClickListener(KakaoMap.OnPoiClickListener listener) throws java.lang.RuntimeException
- Specified by:
setOnPoiClickListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnViewportChangeListener
public void setOnViewportChangeListener(KakaoMap.OnViewportChangeListener listener) throws java.lang.RuntimeException
- Specified by:
setOnViewportChangeListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnPaddingResizeListener
public void setOnPaddingResizeListener(KakaoMap.OnPaddingChangeListener listener) throws java.lang.RuntimeException
- Specified by:
setOnPaddingResizeListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnViewportClickListener
public void setOnViewportClickListener(KakaoMap.OnViewportClickListener listener) throws java.lang.RuntimeException
- Specified by:
setOnViewportClickListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnMapClickListener
public void setOnMapClickListener(KakaoMap.OnMapClickListener listener) throws java.lang.RuntimeException
- Specified by:
setOnMapClickListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnTerrainClickListener
public void setOnTerrainClickListener(KakaoMap.OnTerrainClickListener listener) throws java.lang.RuntimeException
- Specified by:
setOnTerrainClickListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnVisibleChangeListener
public void setOnVisibleChangeListener(KakaoMap.OnVisibleChangeListener listener) throws java.lang.RuntimeException
- Specified by:
setOnVisibleChangeListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnTerrainLongClickListener
public void setOnTerrainLongClickListener(KakaoMap.OnTerrainLongClickListener listener) throws java.lang.RuntimeException
- Specified by:
setOnTerrainLongClickListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnCameraMoveStartListener
public void setOnCameraMoveStartListener(KakaoMap.OnCameraMoveStartListener listener) throws java.lang.RuntimeException
- Specified by:
setOnCameraMoveStartListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnCameraMoveEndListener
public void setOnCameraMoveEndListener(KakaoMap.OnCameraMoveEndListener listener) throws java.lang.RuntimeException
- Specified by:
setOnCameraMoveEndListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnLabelClickListener
public void setOnLabelClickListener(KakaoMap.OnLabelClickListener listener) throws java.lang.RuntimeException
- Specified by:
setOnLabelClickListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnLodLabelClickListener
public void setOnLodLabelClickListener(KakaoMap.OnLodLabelClickListener listener) throws java.lang.RuntimeException
- Specified by:
setOnLodLabelClickListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnInfoWindowClickListener
public void setOnInfoWindowClickListener(KakaoMap.OnInfoWindowClickListener listener) throws java.lang.RuntimeException
- Specified by:
setOnInfoWindowClickListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnMapWidgetClickListener
public void setOnMapWidgetClickListener(KakaoMap.OnMapWidgetClickListener listener) throws java.lang.RuntimeException
- Specified by:
setOnMapWidgetClickListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnCompassClickListener
public void setOnCompassClickListener(KakaoMap.OnCompassClickListener listener) throws java.lang.RuntimeException
- Specified by:
setOnCompassClickListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setOnMapViewInfoChangeListener
public void setOnMapViewInfoChangeListener(KakaoMap.OnMapViewInfoChangeListener listener) throws java.lang.RuntimeException
- Specified by:
setOnMapViewInfoChangeListener
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setGestureEnable
public void setGestureEnable(GestureType gestureType, boolean enable)
- Specified by:
setGestureEnable
in interfaceIKakaoMapDelegate
-
enableFixedCenterPoint
public void enableFixedCenterPoint(boolean enable, GestureType... gestureType)
- Specified by:
enableFixedCenterPoint
in interfaceIKakaoMapDelegate
-
getRouteLineManager
public RouteLineManager getRouteLineManager() throws java.lang.RuntimeException
- Specified by:
getRouteLineManager
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getLabelManager
public LabelManager getLabelManager() throws java.lang.RuntimeException
- Specified by:
getLabelManager
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getShapeManager
public ShapeManager getShapeManager() throws java.lang.RuntimeException
- Specified by:
getShapeManager
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getDimScreenManager
public DimScreenManager getDimScreenManager() throws java.lang.RuntimeException
- Specified by:
getDimScreenManager
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getTrackingManager
public TrackingManager getTrackingManager() throws java.lang.RuntimeException
- Specified by:
getTrackingManager
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
canShowMapPoints
public boolean canShowMapPoints(int zoomLevel, LatLng... points) throws java.lang.RuntimeException
- Specified by:
canShowMapPoints
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getMapDpScale
public float getMapDpScale() throws java.lang.RuntimeException
- Specified by:
getMapDpScale
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getMapWidgetManager
public MapWidgetManager getMapWidgetManager() throws java.lang.RuntimeException
- Specified by:
getMapWidgetManager
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
showOverlay
public void showOverlay(java.lang.String overlayId) throws java.lang.RuntimeException
- Specified by:
showOverlay
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
hideOverlay
public void hideOverlay(java.lang.String overlayId) throws java.lang.RuntimeException
- Specified by:
hideOverlay
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getMapView
public MapView getMapView() throws java.lang.RuntimeException
- Specified by:
getMapView
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setPoiClickable
public void setPoiClickable(boolean clickable) throws java.lang.RuntimeException
- Specified by:
setPoiClickable
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setPoiVisible
public void setPoiVisible(boolean visible) throws java.lang.RuntimeException
- Specified by:
setPoiVisible
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setPoiLanguage
public boolean setPoiLanguage(java.lang.String language) throws java.lang.RuntimeException
- Specified by:
setPoiLanguage
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
getPoiLanguage
public java.lang.String[] getPoiLanguage() throws java.lang.RuntimeException
- Specified by:
getPoiLanguage
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setPoiScale
public void setPoiScale(PoiScale scale) throws java.lang.RuntimeException
- Specified by:
setPoiScale
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
distance
public float distance(LatLng point1, LatLng point2) throws java.lang.RuntimeException
- Specified by:
distance
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
distance
public float distance(Coordinate point1, Coordinate point2) throws java.lang.RuntimeException
- Specified by:
distance
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
setEnableCameraAnimation
public void setEnableCameraAnimation(boolean enable) throws java.lang.RuntimeException
- Specified by:
setEnableCameraAnimation
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
isMapClickable
public boolean isMapClickable() throws java.lang.RuntimeException
- Specified by:
isMapClickable
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
clearDiskCache
public void clearDiskCache() throws java.lang.RuntimeException
- Specified by:
clearDiskCache
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
clearAllCache
public void clearAllCache() throws java.lang.RuntimeException
- Specified by:
clearAllCache
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
changeViewInfo
public void changeViewInfo(MapViewInfo viewInfo) throws java.lang.RuntimeException
- Specified by:
changeViewInfo
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
changeMapType
public void changeMapType(java.lang.String mapType) throws java.lang.RuntimeException
- Specified by:
changeMapType
in interfaceIKakaoMapDelegate
- Throws:
java.lang.RuntimeException
-
startTracking
public void startTracking(Label label) throws java.lang.RuntimeException
- Specified by:
startTracking
in interfaceITrackingDelegate
- Throws:
java.lang.RuntimeException
-
stopTracking
public void stopTracking() throws java.lang.RuntimeException
- Specified by:
stopTracking
in interfaceITrackingDelegate
- Throws:
java.lang.RuntimeException
-
setTrackingRotation
public void setTrackingRotation(boolean enable) throws java.lang.RuntimeException
- Specified by:
setTrackingRotation
in interfaceITrackingDelegate
- Throws:
java.lang.RuntimeException
-
-