Closed markjoshwel closed 1 year ago
undertaking this might be sizeable, so i might delay it for 2.1.0
however, as i am currently working on 2.0.0 i'll develop with this in mind so that i don't have to botch my way around and into fresh code
map of what to do
surplus conversions
pluscode
--> pluscode --> (return __str__ of querytype)
--> localcode --> ???
--> latlong --> (return Latlong.__str__)
--> sharetext --> (normal pre-2.1 surplus operation)
localcode
--> pluscode --> PlusCodeQueryType.to_full_length(...)
--> localcode --> (return __str__ of querytype)
--> latlong --> (return Latlong.__str__)
--> sharetext --> (normal pre-2.1 surplus operation)
latlong
--> pluscode --> (use PlusCodes lib)
--> localcode --> ???
--> latlong --> (return __str__ of querytype)
--> sharetext --> (normal pre-2.1 surplus operation)
querystring
--> pluscode --> (get latlong, then use PlusCodes lib)
--> localcode --> ???
--> latlong --> (return Latlong.__str__)
--> sharetext --> (normal pre-2.1 surplus operation)
example 1: from string query
example 2: from latlong coord
hilariously, any non-string-to-string conversion is just running
surplus()