Closed fireduck64 closed 5 years ago
Anyone else facing my problems: 1) Add an API key. 2) Change code to not do a url change on every recenter. See: https://storage.googleapis.com/factorio-1209k-maps/Vista/index.html
Notice that I changed: map.addListener('center_changed', checkBounds); to map.addListener('center_changed', update_map);
There was a related issue: https://github.com/xkjyeah/vue-google-maps/issues/330
The reason I started working on my own version of factoriomaps is because the old version had a whole list of annoyances. Converting the old maps isn't supported by me, however however if you're not afraid to tinker a bit with python, I can give you a list of what needs to happen to make it work:
20
, and call python zoom.py
with the appropriate arguments. This will give you far improved quality when zoomed out.python ref.py
with the same arguments as zoom, this will generate an index of all the images which will be used in the webpageIf I'm not mistaking, those steps should allow you to 'convert' your old maps. Good luck! :P
Feel free to reopen if you have anymore questions.
I have a bunch of old maps that I saved with earlier versions of FactorioMaps. They used the Google Maps API and now don't work (even if I put in a valid API key).
It appears that the new version doesn't use Google Maps but I'm guessing still uses the same image format and layout. Is there a way to generate a new index and library files and mapInfo.js for an old map?
Note: many of these maps were from factorio versions and mod packages that would be hard to reproduce so I can't use the new process and go from save to map.