File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 130130 zoomControl : true
131131 } ) ;
132132
133- // 2. Monochrome-ish basemap (Carto light_all, OSM data)
134- // This is a widely used neutral/grey tile set.
133+ // 2. Light grey basemap (Carto light_all on OSM data)
135134 L . tileLayer (
136- 'https://cartodb-basemaps- {s}.global.ssl.fastly.net /light_all/{z}/{x}/{y}.png' ,
135+ 'https://{s}.basemaps.cartocdn.com /light_all/{z}/{x}/{y}{r }.png' ,
137136 {
138137 maxZoom : 20 ,
139138 attribution : '© OpenStreetMap contributors © CARTO'
189188 // main visible marker
190189 var marker = L . circleMarker ( latlng , {
191190 radius : 6 ,
192- color : '#ffffff' , // stroke color
191+ color : '#ffffff' ,
193192 weight : 2 ,
194- fillColor : '#1d4ed8' , // fill color
193+ fillColor : '#1d4ed8' ,
195194 fillOpacity : 0.8
196195 } ) ;
197196
198197 // attach popup
199198 marker . bindPopup ( buildPopupHTML ( props ) ) ;
200199
201- // buffer circle ~50m
200+ // 50m radius circle
202201 var circle = L . circle ( latlng , {
203202 radius : 50 ,
204203 color : '#1d4ed8' ,
205204 weight : 1 ,
206205 fillColor : '#1d4ed8' ,
207206 fillOpacity : 0.15
208207 } ) ;
209-
210208 circle . addTo ( map ) ;
211209
212210 // collect for fitBounds
233231} ) ( ) ;
234232</ script >
235233
234+
236235</ body >
237236</ html >
You can’t perform that action at this time.
0 commit comments