Locations/Maps

From FragoriaWiki

(Difference between revisions)
Jump to: navigation, search
Line 58: Line 58:
<html>
<html>
-
    <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport" /><style type="text/css">
+
        <title>Fragoria Map</title>   <link rel="stylesheet" href="/maps/documentation/javascript/examples/default.css" />   <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>   <script>
-
      html { height: 100% }
+
      var moonTypeOptions = {
-
      body { height: 100%; margin: 0px; padding: 0px }
+
        getTileUrl: function(coord, zoom) {
-
      #map_canvas { height: 100%; z-index: 0;}
+
            var normalizedCoord = getNormalizedCoord(coord, zoom);
-
      #gmnoprint {width: auto;}
+
            if (!normalizedCoord) {
-
</style><meta content="text/html; charset=utf-8" http-equiv="content-type" /> <title>Map of Fragoria</title> <script src="http://maps.googleapis.com/maps/api/js?sensor=false" type="text/javascript"></script><script>
+
              return null;
-
function CustomMapType() {
+
            }
-
}
+
            var bound = Math.pow(2, zoom);
-
CustomMapType.prototype.tileSize = new google.maps.Size(256,256);
+
            return '/maptiles/' +
-
CustomMapType.prototype.maxZoom = 5;
+
                zoom + '_' + normalizedCoord.x + '_' +
-
CustomMapType.prototype.getTile = function(coord, zoom, ownerDocument) {
+
                normalizedCoord.y + '.png';
-
    var div = ownerDocument.createElement('DIV');
+
        },
-
    var baseURL = 'http://204.93.163.99/~kreitfbx/frago/MapTile/';
+
        tileSize: new google.maps.Size(256, 256),
-
    baseURL += zoom + '_' + coord.x + '_' + coord.y + '.png';
+
        maxZoom: 5,
-
    div.style.width = this.tileSize.width + 'px';
+
        minZoom: 1,
-
    div.style.height = this.tileSize.height + 'px';
+
        radius: 1738000,
-
    div.style.backgroundColor = 'transparent';
+
        name: 'Fragoria'
-
    div.style.backgroundImage = 'url(' + baseURL + ')';
+
      };
-
    return div;
+
 
-
};
+
      var moonMapType = new google.maps.ImageMapType(moonTypeOptions);
-
CustomMapType.prototype.name = "Custom";
+
 
-
CustomMapType.prototype.alt = "Tile Coordinate Map Type";
+
      function initialize() {
-
var map;
+
        var Fragotown = new google.maps.LatLng(-73, 13);
-
var CustomMapType = new CustomMapType();
+
        var mapOptions = {
-
function initialize() {
+
          center: Fragotown,
-
  var mapOptions = {
+
          zoom: 5,
-
      minZoom: 2,
+
          streetViewControl: false,
-
    maxZoom: 5,
+
          mapTypeControlOptions: {
-
    isPng: true,
+
            mapTypeIds: ['moon']
-
      mapTypeControl: false,
+
          }
-
      streetViewControl: false,
+
        };
-
      center: new google.maps.LatLng(-72.5,13),  
+
 
-
      zoom: 5,
+
        var map = new google.maps.Map(document.getElementById('map_canvas'),
-
    mapTypeControlOptions: {
+
            mapOptions);
-
      mapTypeIds: ['custom', google.maps.MapTypeId.ROADMAP],
+
        map.mapTypes.set('moon', moonMapType);
-
      style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
+
        map.setMapTypeId('moon');
-
    }
+
      }
-
  };
+
 
-
map = new google.maps.Map(document.getElementById("map_canvas"),mapOptions);
+
      // Normalizes the coords that tiles repeat across the x axis (horizontally)
-
map.mapTypes.set('custom',CustomMapType);
+
      // like the standard Google map tiles.
-
map.setMapTypeId('custom');
+
      function getNormalizedCoord(coord, zoom) {
-
}
+
        var y = coord.y;
-
</script>  
+
        var x = coord.x;
-
<div style="background-image:url('http://i12.servimg.com/u/f12/14/91/21/86/backgr10.jpg');" id="map_canvas">
+
 
-
</div>
+
        // tile range in one direction range is dependent on zoom level
 +
        // 0 = 1 tile, 1 = 2 tiles, 2 = 4 tiles, 3 = 8 tiles, etc
 +
        var tileRange = 1 << zoom;
 +
 
 +
        // don't repeat across y-axis (vertically)
 +
        if (y < 0 || y >= tileRange) {
 +
          y = (y % tileRange + tileRange) % tileRange;
 +
        }
 +
 
 +
        // repeat across x-axis
 +
        if (x < 0 || x >= tileRange) {
 +
          x = (x % tileRange + tileRange) % tileRange;
 +
        }
 +
 
 +
        return {
 +
          x: x,
 +
          y: y
 +
        };
 +
      }
 +
      </script>        
 +
<center>
 +
<div style="width: 800px; height: 800px;background-image:url('http://i12.servimg.com/u/f12/14/91/21/86/backgr10.jpg');" id="map_canvas">
 +
</div>
 +
</center>
</html>
</html>
[[Category:First Steps in the Game]]
[[Category:First Steps in the Game]]

Revision as of 09:52, 17 March 2015

There you are many exciting places and cities that you will visit in the land of fragoria. Furthermore, fragoria not only holds lands but also hidden dungeons that occupies aggressive monsters in different maps.

Followings are List of Maps and dungeons present in fragoria land:

(according to monster lvls from low lvl maps to high lvl)

Navy Yard
Murom
Fragoville
Middle Land
Fragotown
South Stronghold
Western Land
Sea Forest
Severogorye/Northern Mountain
Frostville
Frost Plateau

Other Maps/Location in Fragoria:

Eastern Track

Smashdown Village

Carawan Way


Fragoria Map

Personal tools
Date/Time
Server & Cross

Super-Cross Server