1. Login...
  2. Help
  3. Registration
На русском

Tools for webmasters (API)

Tools allow you to implement a piece of card on their web page using html code, and use the unique reference to any objects inside the card using the URL. More information about each method, you can read below.

The introduction of a fragment of the map on a Web page

Below is the code to insert on web page.
<object width="425" height="344">
<param name="movie" value="http://kansk.24.emomaps.com/m/swf/EmoMapEmbed.swf"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<param name="FlashVars" value='style_xml="http://kansk.24.emomaps.com/m/style_embed.xml"&start_x=10338500&start_y=7525500&start_z=1.2'></param>
<embed src="http://kansk.24.emomaps.com/m/swf/EmoMapEmbed.swf"
FlashVars='style_xml=http://kansk.24.emomaps.com/m/style_embed.xml&start_x=10338500&start_y=7525500&start_z=1.2'
type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true"
width="425" height="344">
</embed></object>
The parameters for the transfer: start_x (coordinates on the axis x), start_y (coordinates on the axis x), start_z (scale). The height and width is set to flash parameters height and width and can be expressed as a percentage. Coordinates and magnitude can be found using the constant reference to the fragment of the map on the home page.

Creating links to the objects (houses, organizations, etc.)

Each object within the map, regardless of the type (forest, river, house, organization) has a unique number that can be used to build permanent links. You can see a small logo of the chain and the word "link" in the information panel on the left of the window cards

Highlight addresses listed on web-page

With this combine my features, you can quickly identify a list of addresses on a map from any page on the Internet. To do this, simply pass the address of a page as a parameter to url (GET request) to the page http://kansk.24.emomaps.com/api/show_by_url/

Example:
		http://kansk.24.emomaps.com/api/show_by_url/?url=kras-telepay.ru/points.php&offset=1,2
Available parameters:
  • url (page address), url=www.kras-telepay.ru/points.php
  • offset (offset from the array of addresses) offset=1,2 if you do not want to show the first and the last 2 addresses of the found
  • force (cache reset), force=1 pass this parameter if you want to reset the cache and do search again(*)
  • (*) Attention! The first time a script can run for a long time (~ 2 minutes to 160 addresses), but then the data for that url will be taken from the cache.

    Beta 0.515
    Developed by
    "Digital Emotions"
    1. Advertisements
    2. Business Directory
    3. Reference
    4. PDA version
    1. Support
    2. For webmasters (API)
    3. About layers
    4. Other cities
    5. About project