SA-MP Forums Archive
[Tool/Web/Other] SanMap - San Andreas in ****** Maps - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] SanMap - San Andreas in ****** Maps (/showthread.php?tid=504181)

Pages: 1 2 3


Re: SanMap - San Andreas in ****** Maps - Johhnyllll - 24.04.2017

Quote:
Originally Posted by ikkentim
View Post
use an array, or otherwise, simply do not keep a reference to them outside of your for/each loop.
Have done so:
PHP Code:
    var GangZone = {
        
'array' : [
            
SanMap.getLatLngFromPos(1849.3774, -1054.2593),
            
SanMap.getLatLngFromPos(2069.4177, -1054.2593),
            
SanMap.getLatLngFromPos(2069.4177, -945.2972),
            
SanMap.getLatLngFromPos(1849.3774, -945.2972)],
        
'first' : [
            
SanMap.getLatLngFromPos(2069.4177, -1108.9666),
            
SanMap.getLatLngFromPos(2175.5276, -1108.9666),
            
SanMap.getLatLngFromPos(2175.5276, -945.2972),
            
SanMap.getLatLngFromPos(2069.4177, -945.2972),
        ]
    };
    var 
polygon1 = new ******.maps.Polygon({
        
pathGangZone['array','first'],
        
strokeColor'#FF0000',
        
strokeOpacity1.0,
        
strokeWeight1,
        
mapmap
    
});
    
zone.setMap(map); 
But on the map there is only the last gang area


Re: SanMap - San Andreas in ****** Maps - ikkentim - 24.04.2017

You still need separate polygons ಠ_ಠ


Re: SanMap - San Andreas in ****** Maps - Johhnyllll - 24.04.2017

Quote:
Originally Posted by ikkentim
View Post
You still need separate polygons ಠ_ಠ
I did it, thank you..



Re: SanMap - San Andreas in ****** Maps - predvkill - 07.09.2017

It's Awesome , But Please Do It For Me And Show Me How Exactely and thank you very much ! +rep


Re: SanMap - San Andreas in ****** Maps - predvkill - 07.09.2017

Awesome, But Please Do It For Me And Show Me How Please , and thank you very much Bro


Re: SanMap - San Andreas in ****** Maps - ikkentim - 07.09.2017

Quote:
Originally Posted by predvkill
View Post
Awesome, But Please Do It For Me And Show Me How Please , and thank you very much Bro
Check sanmap.ikkentim.com for an example. If you need help with Goooogle maps, search on Gooooogle


Re: SanMap - San Andreas in ****** Maps - Sithis - 07.09.2017

Th@t w0rd cens0ring th0


Re: SanMap - San Andreas in ****** Maps - Leonid767 - 02.12.2017

Code:
function SanMapZone(minX, minY, maxX, MaxY) {
		var triangleCoords = [
        	SanMap.getLatLngFromPos(minX, minY),
        	SanMap.getLatLngFromPos(maxX, minY),
        	SanMap.getLatLngFromPos(maxX, MaxY),
        	SanMap.getLatLngFromPos(minX, MaxY)
    	];
        var bermudaTriangle = new ******.maps.Polygon({
            paths: triangleCoords,
            strokeColor: '#FF0000',
            strokeOpacity: 0.8,
            strokeWeight: 2,
            fillColor: '#FF0000',
            fillOpacity: 0.35
        });
        bermudaTriangle.setMap(map);
        return bermudaTriangle;
    }
    function ClickZone(zone) {
	    ******.maps.event.addListener(zone, 'click', function (event) {
            var minpos = SanMap.getPosFromLatLng(zone.getPath().getAt(0));
            var maxpos = SanMap.getPosFromLatLng(zone.getPath().getAt(2));        
             alert(minpos.x + "," + minpos.y + "," + maxpos.x + "," + maxpos.y);
        });
	}



Re: SanMap - San Andreas in ****** Maps - markoffk1n - 16.07.2018

Can you upload the tiles too?


Re: SanMap - San Andreas in ****** Maps - ikkentim - 16.07.2018

Quote:
Originally Posted by markoffk1n
Посмотреть сообщение
Can you upload the tiles too?
Can’t you generate them yourself?


Re: SanMap - San Andreas in ****** Maps - Admireal - 25.07.2018

Can you share installed files?
I Can't install.


Re: SanMap - San Andreas in ****** Maps - AdamBryant95 - 01.08.2018

Hello. I don't know why, but dont work with https:// link. The screen is white.


Re: SanMap - San Andreas in ****** Maps - ikkentim - 01.08.2018

Quote:
Originally Posted by AdamBryant95
Посмотреть сообщение
Hello. I don't know why, but dont work with https:// link. The screen is white.
Works fine for me, maybe your browser has cached some files wrong, try a refresh or a different browser (or look at the console)


Re: SanMap - San Andreas in ****** Maps - AdamBryant95 - 01.08.2018

It worked. But i have a bigger problem now. About 10 minutes ago, the website send meg this:

"this page cannot load ****** maps correctly"

And when i see the log:

Quote:

util.js:227 ****** Maps JavaScript API warning: NoApiKeys https://developers.******.com/maps/d...es#no-api-keys
ax.j @ util.js:227
(anonymous) @ js?sensor=false:158
(anonymous) @ js?sensor=false:64
(anonymous) @ js?sensor=false:61
(anonymous) @ js?sensor=false:64
(anonymous) @ js?sensor=false:135
(anonymous) @ js?sensor=false:64
(anonymous) @ js?sensor=false:135
Xd @ js?sensor=false:63
Td.wa @ js?sensor=false:135
(anonymous) @ stats.js:1
util.js:227 ****** Maps JavaScript API warning: SensorNotRequired https://developers.******.com/maps/d...r-not-required
ax.j @ util.js:227
(anonymous) @ js?sensor=false:158
(anonymous) @ js?sensor=false:64
(anonymous) @ js?sensor=false:61
(anonymous) @ js?sensor=false:64
(anonymous) @ js?sensor=false:135
(anonymous) @ js?sensor=false:64
(anonymous) @ js?sensor=false:135
Xd @ js?sensor=false:63
Td.wa @ js?sensor=false:135
(anonymous) @ stats.js:1




Re: SanMap - San Andreas in ****** Maps - ikkentim - 01.08.2018

Yea g00gle added the requirement of adding a g00gle api key since a few months ago, haven’t updated the site since, will add it when I have time.


Re: SanMap - San Andreas in ****** Maps - AdamBryant95 - 10.08.2018

If you have time, you should add 8196X8196 size support to the Tile Cutter program.


Re: SanMap - San Andreas in ****** Maps - BalkanEliteRP - 22.09.2018

Hi guys,
Can you look at: http://balkan-elite.info/mapa/ and see what I'm doing wrong.Because I have problem with loading map ( http://prntscr.com/kxit4z or when I zoom: http://prntscr.com/kxit7n )