-
카테고리
-
세부 분야
데이터 분석
-
해결 여부
미해결
클러스터로 지도를 그릴때 추가기능 문의 드립니다.
20.09.07 21:57 작성 조회수 107
1
클러스터로 지도를 그릴때, 줌아웃을 해도 파리바게뜨-뚜레쥬르를 구별해서 그릴수 있나요?
답변을 작성해보세요.
0
박조은
지식공유자2020.09.07
안녕하세요.
질문 주신 내용이 있는지 문서를 찾아봤는데 제가 못 찾은 것일 수도 있겠지만 아래 문서를 봐서는 해당 기능을 찾을 수 없습니다.
아래 해당 기능에 대한 문서입니다.
Docstring: Provides Beautiful Animated Marker Clustering functionality for maps. Parameters ---------- locations: list of list or array of shape (n, 2). Data points of the form [[lat, lng]]. popups: list of length n, default None Popup for each marker, either a Popup object or a string or None. icons: list of length n, default None Icon for each marker, either an Icon object or a string or None. name : string, default None The name of the Layer, as it will appear in LayerControls overlay : bool, default True Adds the layer as an optional overlay (True) or the base layer (False). control : bool, default True Whether the Layer will be included in LayerControls. show: bool, default True Whether the layer will be shown on opening (only for overlays). icon_create_function : string, default None Override the default behaviour, making possible to customize markers colors and sizes. options : dict, default None A dictionary with options for Leaflet.markercluster. See https://github.com/Leaflet/Leaflet.markercluster for options. Example ------- >>> icon_create_function = ''' ... function(cluster) { ... return L.divIcon({html: '<b>' + cluster.getChildCount() + '</b>', ... className: 'marker-cluster marker-cluster-small', ... iconSize: new L.Point(20, 20)}); ... } ... ''' File: ~/opt/anaconda3/lib/python3.7/site-packages/folium/plugins/marker_cluster.py
답변 1