JA:独自のスリッピーマップの提供

From OpenStreetMap Wiki
Jump to navigation Jump to search

broom

Help (89606) - The Noun Project.svg

独自のスリッピーマップを提供することは、 OpenStreetMap を利用する一般的な方法です。

Google や Yahoo! の地図と同様に、私たちの地図をあなたのウェブサイトに埋め込むことができます。これは、以下の JavaScript 地図ライブラリ のいずれかを使うことで実現できます。

  • Leaflet (leafletjs.com) はフリーでオープンソースの JavaScript で、軽量で簡単に利用できる API を持ち、多くのプラグインもあります。
  • OpenLayers (openlayers.org) は多機能でフリーなオープンソース JavaScript ライブラリです。これは OSM 地図を表示するためのもっとも人気のある方法です。
  • Google Maps Example では Google Maps API を使って OSM の地図を表示する方法を紹介します。

その他:

CMS やフレームワークへの OSM の埋め込み

You can embed OSM in your favourite Content Management System:

CMS/framework module/plugin note sources tutorial example
with OSM map embedded
CMS Made Simple Osm Tag Module based on OpenLayers GitHub Documentation in manpage
CMS Made Simple Leaflet Tag Module based on Leaflet GitHub Documentation in manpage
Django GeoDjango A world-class geographic web framework included in the Django framework A world-class geographic web framework geodjango-basic-apps
Django OSMEditor a little old... [2] Editors/Django#Installation
Django-CMS django-cms-osm [3] [4]
Drupal DrupalMappingKit collection of drupal modules to support custom mapping [5] Drupal tutorial from MapBox MapBox
Drupal Leaflet module Leaflet module
Drupal OpenLayers module OpenLayers module
Joomla injooosm
Joomla OSModul Module based on Leaflet and supports markers [6]
Java Server Faces JSF2Leaf Powered by Leaflet
MediaWiki Simple image This wiki!
MediaWiki Slippy Map Powered by OpenLayers This wiki! This wiki!
MediaWiki Kartographer Powered by Leaflet MediaWiki wiki Wikivoyage
MediaWiki Maps Powered by OpenLayers Manual
MediaWiki Semantic Maps Requires Semantic MediaWiki Manual
MoinMoin moinmoinosm Macro for MoinMoin [7] [8] Flisol
Novius OS Ounziw OSM iframe style OSM map GitHub
Tiki Wiki CMS Groupware built-in via OpenLayers
WordPress OSM WordPress Plugin also adds gpx and kml files Download Simple sample Plugin Blog

関連項目:

  • Cartaro is a framework for embedding maps in different CMS, especially Drupal.

タイルのソース


OpenStreetMap tile servers

Typically these examples show you how to use the OpenStreetMap tile servers. Your site serves up the HTML and the JavaScript (maybe) but the tile images of the map are still fetched by the browser from our servers. You must do this in accordance with the tile usage policy. The tile service comes with no guarantee as to availability or speed (if you expect particularly heavy demand, please contact the community to discuss your requirements first).

Alternative tile servers

Alternative tile providers (with their own usage policies) are available. Some of them are combining OSM data with their own imagery and/or applying different colours and styles of map details.

See Slippy map tilenames#Tile servers, TMS for a list of some tile providers.

Your own map tiles

For ultimate flexibility, OpenStreetMap also gives you the unique ability to generate your own map tiles — styled any way you like — from our data.

  • See Switch2Osm.org for more information on serving your own tiles.
  • TileLauncher is a free out-of-the-box styled-tileserver for Amazon EC2. In a few clicks, choose your theme colorus, your Amazon Instance type, your region, enter your credentials and press "Launch". [9]
  • Tiledrawer is a free, quick-start, out-of-the-box renderer and server using the standard OSM toolchain for Amazon EC2, other virtual servers, and fresh installs of Ubuntu on any hardware.