[Wikitech-l] Maps on wikidata

2020-05-10 Thread Strainu
Hi, Thanks for the responses. Pe sâmbătă, 9 mai 2020, Marius Hoch a scris: > Hi Strainu, > > as Michael already pointed out, the (currently hard-coded) zoom value can > be found in CachingKartographerEmbeddingHandler::getWikiText. > > I guess we could try to derive the zoom from the precision o

Re: [Wikitech-l] Maps on wikidata

2020-05-09 Thread Marius Hoch
Hi Strainu, as Michael already pointed out, the (currently hard-coded) zoom value can be found in CachingKartographerEmbeddingHandler::getWikiText. I guess we could try to derive the zoom from the precision of the coordinate (GlobeCoordinateValue::getPrecision), but other than that, I don't

Re: [Wikitech-l] Maps on wikidata

2020-05-08 Thread Michael Holloway
Hi Strainu, It's probably best if a Wikibase dev confirms, but I think this is what you're looking for: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibase/+/master/lib/includes/Formatters/CachingKartographerEmbeddingHandler.php#198 -mdh On Fri, May 8, 2020 at 12:44 PM S

[Wikitech-l] Maps on wikidata

2020-05-08 Thread Strainu
Hey folks, Can someone point me to the code that decides which zoom to use for the maps that are displayed in the items with coordinates? Thanks, Strainu ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/