basemaps module¶
Module for basemaps.
get_basemap_list(free_only=True)
¶
Returns a list of xyz services.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
free_only
|
bool
|
Whether to return only free xyz tile services that do not require an access token. Defaults to True. |
True
|
Returns:
Name | Type | Description |
---|---|---|
list |
A list of xyz services. |
Source code in mapwidget/basemaps.py
278 279 280 281 282 283 284 285 286 287 288 |
|
get_xyz_dict(free_only=True)
¶
Returns a dictionary of xyz services.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
free_only
|
bool
|
Whether to return only free xyz tile services that do not require an access token. Defaults to True. |
True
|
Returns:
Name | Type | Description |
---|---|---|
dict |
A dictionary of xyz services. |
Source code in mapwidget/basemaps.py
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 |
|