123

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <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>
            
          
!
            
              body {
  background: #efefef;
}
            
          
!
            
              $(function() {

  $('body').gmapify({
    canvas: "#map-canvas",
    datasource: "#organisation-name",
    dataitems: 'li',
    zoom: 14,
    scrollwheel: false
  });
  
});
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console