xRGamingx Posted November 5, 2018 Share Posted November 5, 2018 What is the error? webmap or resourcebrowser Link to comment
xRGamingx Posted November 5, 2018 Author Share Posted November 5, 2018 I do not see the map D; Helps Link to comment
Addlibs Posted November 5, 2018 Share Posted November 5, 2018 Its been broken for a long time now. Firstly, the backend is provided by OpenLayers and map images by code.opencoding.net (presumably operated by eAi, the creator of the script) but the CGI script serving images is broken (e.g. http://code.opencoding.net/tilecache/tilecache.cgi/1.0.0/sa_aerial_map/0). And secondly, webmap's script.js attempts to use jQuery selectors but jQuery isn't present. Due to the image provider being broken, I don't think there is any easy workaround other than creating your own webmap script. The relevant Github issue is multitheftauto/mtasa-resources#130. Link to comment
Captain Cody Posted November 5, 2018 Share Posted November 5, 2018 I'll work on a fix soon. 2 1 Link to comment
supremedialect Posted November 12, 2018 Share Posted November 12, 2018 thank you Cody Link to comment
ztajti Posted November 20, 2018 Share Posted November 20, 2018 On 05/11/2018 at 22:48, MrTasty said: Its been broken for a long time now. Firstly, the backend is provided by OpenLayers and map images by code.opencoding.net (presumably operated by eAi, the creator of the script) but the CGI script serving images is broken (e.g. http://code.opencoding.net/tilecache/tilecache.cgi/1.0.0/sa_aerial_map/0). And secondly, webmap's script.js attempts to use jQuery selectors but jQuery isn't present. Due to the image provider being broken, I don't think there is any easy workaround other than creating your own webmap script. The relevant Github issue is multitheftauto/mtasa-resources#130. Hi. Don't need to use jQuery. Just replace the map = new OpenLayers.Map($("map"), {'maxResolution': 0.3515625, 'maxExtent':new OpenLayers.Bounds(-90.0,-90.0,90.0,90.0), 'numZoomLevels':6, }); to map = new OpenLayers.Map( "map", {'maxResolution': 0.3515625, 'maxExtent':new OpenLayers.Bounds(-90.0,-90.0,90.0,90.0), 'numZoomLevels':6, }); And the tilecache service resolve, i don't know. Sorry. I tring. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now