Map parameters

General information

Map generator accepts zero or more of the parameters:

http://map.ip2geo.pl/?ip=ip_addr&map=map_type&size=map_size&w=width&h=height

Parameters

ip_addr

IPv4 address to localize. If ommited or erroneous, client's IP address is used.

map_type

Map type. Defaults to sat. Available map types:

  • sat - satellite map (source: NASA Visible Earth)
  • night - night earth (source: NASA Visible Earth)

map_size

Map size (mini, small, med, big, vbig, orig). Defaults to small. Available resolutions:

identifier sat night
mini 400x200
small 1024x512
med 4096x2048
big 8192x4096

width

Requested width of the map in pixels. Must not be less than 200 nor more than 800. Defaults to 200. Must not exceed width of the map source (see map_size).

height

Requested height of the map in pixels. Must not be lower than 80 nor greater than 620. Defaults to 100. Must not exceed height of the map source (see map_size).

© 2015 by Jacekk.net