<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Options</title>
  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
  <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
  <link href="css/themen.css" rel="stylesheet">
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
  <div class="container">
    <!-- Collapsed navigation -->
    <div class="navbar-header">
      <!-- Expander button -->
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <!-- Main title -->
      <a class="navbar-brand" href="index.html">Near Places</a>
    </div>
    <!-- Expanded navigation -->
    <div class="navbar-collapse collapse">
      <!-- Main navigation -->
      <ul class="nav navbar-nav">
        <li >
            <a href="examples.html">Examples</a>
        </li>
        <li class="active">
            <a href="options.html">Options</a>
        </li>
        <li >
            <a href="methods.html">Methods</a>
        </li>
      </ul>
    </div>
  </div>
</div>
<section class="jumbotron">
  <div class="container">
    <h1>Options</h1>
  </div>
</section>
<div class="container">
  <div class="col-md-3"><div class="bs-sidebar hidden-print affix-top" role="complementary">
    <ul class="nav bs-sidenav">
        <li class="main active">
	        <a href="#core-options">Core options</a>
	        <ul class="nav">
	        </ul>
        </li>
    </ul>
</div></div>
  <div class="col-md-9" role="main">
<h1 id="core-options">Core options</h1>
<hr />
<p>Default config for near places</p>
<p>You can changed when near_places init</p>
<pre>
    <code class="html">    
    map_near.near_places({
        'mapOptions': {
                'zoom' : 10,
            }
    });
   </code>
</pre>
<p>Settings for change</p>
<pre>
    <code class="html">    
    settings = {
        'places': {
            'health': {
                'icon': 'img/hospital.png',
                'type': 'hospital,health',
                'title': 'Health',
            },
        },
        'mapOptions': {
            'zoom': '15',
            'mapTypeId': 'ROADMAP',
            'scrollwheel': false,
            'styles': '',
            'radius': '2000',
            'default_place_id': '4',
        }
    }
   </code>
</pre>
<table class="table table-bordered table-striped">
  <thead>
  <tr>
    <th style="width: 15%;">Name</th>
    <th style="width: 32%;">Type</th>
    <th style="width: 10%;">Default</th>
    <th style="width: 43%;">Description</th>
  </tr>
  </thead>
  <tbody>
  <tr>
    <td>zoom</td>
    <td>int</td>
    <td><code>15</code></td>
    <td>
        <p>Set zoom for map</p>
    </td>
  </tr>
  <tr>
    <td>mapTypeId</td>
    <td>string</td>
    <td><code>ROADMAP</code></td>
    <td>
        <p>More info on <a href="https://developers.google.com/maps/documentation/javascript/maptypes">here</a></p>
    </td>
  </tr>
  <tr>
    <td>styles</td>
    <td>object</td>
    <td><code>default</code></td>
    <td>
        <p>More info on <a href="https://developers.google.com/maps/documentation/javascript/styling">here</a></p>
    </td>
  </tr>
  <tr>
    <td>scrollwheel</td>
    <td>boolen</td>
    <td><code>false</code></td>
    <td>
        <p>scrollwheel on/off</p>
    </td>
  </tr>
  <tr>
    <td>radius</td>
    <td>int</td>
    <td><code>2000</code></td>
    <td>
        <p>radius for search places around marker</p>
    </td>
  </tr>
  <tr>
    <td>default_place_id</td>
    <td>int</td>
    <td><code>4</code></td>
    <td>
        <p>Default places type id</p>
    </td>
  </tr>
  <tr>
    <td>places[..].icon</td>
    <td>string</td>
    <td><code>deafult</code></td>
    <td>
        <p>link for icon of place</p>
    </td>
  </tr>
  <tr>
    <td>places[..].type</td>
    <td>string</td>
    <td><code>deafult</code></td>
    <td>
        <p>type of place, more info <a href="https://developers.google.com/places/supported_types">here</a></p>
    </td>
  </tr>
  <tr>
    <td>places[..].title</td>
    <td>string</td>
    <td><code>deafult</code></td>
    <td>
        <p>title for place</p>
    </td>
  </tr>
  </tbody>
</table>
  </div>
</div>
<div class="footer">
    <div class="container text-center">
        <p class="text-muted">All Right reserved © 2017</p>
    </div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</body>
</html>