mapbox

    1熱度

    1回答

    我可以將ArcGIS Server REST服務API用於MapBox GL API嗎?請任何人都可以告訴我是否可以將ArcGIS Rest Service用於MapBox GIS。 謝謝!

    0熱度

    2回答

    一旦視圖使我得到這個錯誤,並彈出沒有添加 - mapbox-gl.js:176 TypeError: (intermediate value).setLngLat(...).setPopup is not a function(…) 有誰遇到這樣或知道的東西來解決這一問題? 代碼是這樣設置彈出了標記,我已經按照這個鏈接https://www.mapbox.com/mapbox-gl-js/exam

    1熱度

    1回答

    這是我有: const RL = require('react-leaflet'); var Map = RL.Map; var TileLayer = RL.TileLayer; <Map zoom={14} zoomSnap={0} style={{height: "100%"}} ref={(map) => { this.map = map;

    0熱度

    1回答

    我下面在單張標記集羣例子低於: marker-cluster 如圖所示的所有標記都聚集,現在我想修改標記一些的顏色。所以我會在文件中有另一列如下: var addressPoints = [ [-37.8210922667, 175.2209316333, "2",0], [-37.8210819833, 175.2213903167, "3",1], [-37.8210881833, 17

    4熱度

    1回答

    這色階是一個代碼,我試圖表明在每個點上車速度。 import plotly.plotly as py from plotly.graph_objs import * mapbox_access_token = 'MAPBOX API KEY' data = Data([ Scattermapbox( lat=dataframe_monday_morning['lat

    3熱度

    1回答

    我正在使用Mapbox Dark v9風格,並希望刪除所有標籤。 我找到了一個標籤列表here。 並已試過在map.removeLayer函數刪除其中的一些,例如: map.removeLayer("place_label"); 除了: map.removeLayer("place-city-lg-n"); map.removeLayer("place-city-lg-s"); map.r

    1熱度

    1回答

    我想使用Mapbox繪製路線。我嘗試添加多段線: let polyline = MGLPolyline(coordinates: &coords, count: UInt(coords.count)) mapView?.add(polyline) 但它一直繪製在街道名稱的頂部。我如何在街道名下移動?

    1熱度

    1回答

    我很難顯示和切換圖層。我遵循教程:https:// www。 mapbox。 com/mapbox-gl -js/example/toggle-layers/ 從教程和其他幫助文檔中,我不清楚我應該使用什麼值。我所有的數據和樣式都是使用Mapbox Studio創建的。我對addLayer'source','source-layer'和addSource的不同值感到困惑。 在此幫助文件中:http

    1熱度

    1回答

    我遇到了各種問題已經提出的問題,但我無法通過各種答案中提供的方法解決問題。 我的問題是,在包含通過rails應用程序生成的Leaflet地圖的jQuery模型中,tile不能正確呈現。 以前的問題(如Leaflet map not showing properly in bootstrap 3.0 modal)建議使用invalidateSize();顯示模態後,通過jQuery函數執行方法。 我

    0熱度

    1回答

    我在rails應用程序中遇到mapbox方向插件的問題。當我加載在地圖頁面,我有這樣的錯誤: Uncaught TypeError: mapboxgl.Directions is not a constructor at HTMLDocument.<anonymous> (travel.self-10030a4….js?body=1:34) at fire (jquery.se