cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

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.

            
              <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>
            
          
!
            
              $(function() {

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

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console