Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="container-fluid">
<div class="row">

<div id="map">

	<div class="col-xs-4" id="map-meta">
		<!-- 
		Other accepted itemypes:
			<div itemscope itemtype="http://schema.org/Corporation"></div>
			<div itemscope itemtype="http://schema.org/EducationalOrganization"></div>
			<div itemscope itemtype="http://schema.org/GovernmentOrganization"></div>
			<div itemscope itemtype="http://schema.org/LocalBusiness"></div>
			<div itemscope itemtype="http://schema.org/NGO"></div>
			<div itemscope itemtype="http://schema.org/PerformingGroup"></div>
			<div itemscope itemtype="http://schema.org/SportsTeam"></div>

Requirements are not the same for all itemtypes. Make sure you validate with Google Structured Data Testing Tool.
		 -->
		<div id="organisation-name" itemprop="branchOf" itemscope itemtype="http://schema.org/Organization">

		<a itemprop="url" href="http://example.com/">
			<div itemprop="name"><strong>Example Co.</strong></div>
		</a>
		<img itemprop="logo" src="{{ site.baseurl }}/images/saddamazad.png"/>
		<div itemprop="description">Example Co. makes awesome widgets.</div>

		<ul class="nav nav-pills nav-stacked" role="tablist">
			<li itemprop="location" itemscope itemtype="http://schema.org/LocalBusiness" itemref="organisation-name">
				<a href="javascript:;" role="tab" data-toggle="tab" class="active">
					<span class="name" itemprop="name">American Museum of Natural History</span>
					<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
						<span itemprop="streetAddress">Central Park West &amp; 79th St</span>
						<span itemprop="addressLocality">New York</span>
						<span itemprop="postalCode">10024</span>
						<span itemprop="addressRegion">NY</span>
						<span itemprop="addressCountry">USA</span>
						<span itemprop="description">From dinosaurs to outer space and everything in between, this huge museum showcases natural wonders.</span>
					</div>

					<time itemprop="openingHours" datetime="Tu, Wed, Thu">Tue, Wed &amp; Thu</time>
				</a>

				<div class="location">
			      <span itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
			        <span property="latitude" content="40.781354"></span>
			        <span property="longitude" content="-73.973997"></span>
			      </span>
				</div>
			</li>

			<li itemprop="location" itemscope itemtype="http://schema.org/LocalBusiness" itemref="organisation-name">
				<a href="javascript:;" role="tab" data-toggle="tab">
					<span class="name" itemprop="name">Rockefeller Center</span>
					<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
						<span itemprop="streetAddress">45 Rockefeller Plaza</span>
						<span itemprop="addressLocality">New York</span>
						<span itemprop="postalCode">10111</span>
						<span itemprop="addressRegion">NY</span>
						<span itemprop="addressCountry">USA</span>
						<span itemprop="description">Sights abound at this famous complex, home to an ice rink, TV studios &amp; a giant Christmas tree.</span>
					</div>

					<time itemprop="openingHours" datetime="We">Wednesdays</time>
				</a>

			    <div class="location">
			      <span itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
			        <span property="latitude" content="40.758664"></span>
			        <span property="longitude" content="-73.978613"></span>
			      </span>
			    </div>
			</li>

			<li itemprop="location" itemscope itemtype="http://schema.org/LocalBusiness" itemref="organisation-name">
				<a href="javascript:;" role="tab" data-toggle="tab">
					<span class="name" itemprop="name">Museum of the City of New York</span>
					<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
						<span itemprop="streetAddress">1220 5th Ave</span>
						<span itemprop="addressLocality">New York</span>
						<span itemprop="postalCode">10029</span>
						<span itemprop="addressRegion">NY</span>
						<span itemprop="addressCountry">USA</span>
						<span itemprop="description">Photos, maps &amp; other artifacts trace NYC history from its 16th-century birth to the present day. -</span>
					</div>

					<time itemprop="openingHours" datetime="Sat">Sat</time>
				</a>

				<div class="location">
			      <span itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
			        <span property="latitude" content="40.792523"></span>
			        <span property="longitude" content="-73.951877"></span>
			      </span>
				</div>
			</li>
		</ul>
		</div>
	</div>

<div>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false" type="text/javascript"></script>
	<div id="map-canvas"></div>
</div>
</div>
              
            
!

CSS

              
                body {
  background: #efefef;
}
              
            
!

JS

              
                $(function() {

  $('body').gmapify({
    canvas: "#map-canvas",
    datasource: "#organisation-name",
    dataitems: 'li',
    zoom: 14,
    scrollwheel: false
  });
  
});
              
            
!
999px

Console