Outerra forum
User mods, screenshots & videos => Other => Topic started by: aWac9 on August 09, 2015, 04:15:16 pm
-
G (google map) key is blank and I can not see anything
Any idea how to fix?
Thank you
-
I think Gmap API is not working for some reason. Uriah and I had the same problem.
-
Something changed recently in Google map API, but I think we have already fixed it internally.
-
Hello guys,
something has changed in google API related to load events.
I have attached the fixed version of map.html.
To fix the issue simply overwrite existing map.html file in WWW direction in installation path of Outerra with file in attachment.
PS: You have to be logged in to see attachment(s)
-
There 's a wayto modify cfg files to increase the size of the Google Maps window ? Thanks
-
There 's a wayto modify cfg files to increase the size of the Google Maps window ? Thanks
Hello,
currently there is no way to change google map ("g" key) size or position through cfg file, but you can simply edit
source file of that map. Its easy if you follow next 3 simple steps.
1) Find file "map.html", file should be located in
anteworld_installation_dir / WWW / map.html
2) Open the file with any text editor
3) Go to the end of the file and there should be following javascript code
<script>
(function () {
load();
})();
</script>
Replace it with following code
<script>
(function () {
load();
var width = 800,
height = 600;
window.resizeTo(width, height);
window.moveTo(screen.availWidth - width, screen.availHeight - height);
})();
</script>
This code change will increase map window size to 800 by 600 while maintaining its position in bottom right corner.
You may change width and height variables to change size of the window.
Optionally you may move to other position with window.moveTo.
For example window.moveTo(0, 0) will move window to top left corner of the screen.
Only downside is when you will download newer version I think this file will be restored to the old state so you will have
to repeat the process.
Hope this helps.
-
Thanks. You were precise and gentle. I'll try right now
. :-)
-
Now It works!!! Thanks!
-
Now It works!!! Thanks!
Glad to help. :)