cesiumpy icon indicating copy to clipboard operation
cesiumpy copied to clipboard

Lazily instantiate geocoder

Open erikreed opened this issue 2 years ago • 1 comments

Currently, importing cesiumpy with geopy v2.0.0 or greater errors out. This is due to this change in v2.1.0 requiring an API key for geocoding.

This PR lazily loads the geocoder to prevent the immediate exception with geopy versions > 2.0.0.

Closes https://github.com/sinhrks/cesiumpy/issues/77. Related to https://github.com/sinhrks/cesiumpy/pull/79.

erikreed avatar May 16 '22 19:05 erikreed

Should be merged to master, as CesiumPy is not usable without this

dorvak avatar Dec 27 '22 14:12 dorvak