Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Stupid Simple Google Maps

Apraksts

Allows for the simple embeding of Google Maps in posts. This is done using shortcodes.

[simple-map]1600 Amphitheatre Parkway, Mountain View, CA[/simple-map] will drop in a map with a marker on Google's California headquarters.

Available attributes:

  • height: The height of the resulting map. Defaults to “512”.
  • width: The width of the resulting map. Defaults to “512”.
  • color: The color of the marker. Defaults to “red”.
  • label: Will accept any single character uppercase letter to use as the symbol in the marker. Defaults to a dot.
  • zoom: The zoom level of the resulting map. Defaults to 15.
  • maptype: Determines the format of the map. Defaults to “roadmap”. Will accept “roadmap”, “satellite”, “terrain”, or “hybrid”.

Uzstādīšana

  1. Upload simple-maps.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the [simple-map] shortcode where you want your map

BUJ

Why did you make this plugin if there are already other map plugins with more features?

I wanted a really simple wrapper plugin for the Google Static Maps API. http://code.google.com/apis/maps/documentation/staticmaps/

Can I see this plugin in action?

Yes! I’ve set up a few samples here: http://simple-maps.wiffin.com/samples/

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Stupid Simple Google Maps” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Stupid Simple Google Maps&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.1

  • Corrected a bug that would throw PHP warnings.

1.0

  • Wrapper for most obvious Static Maps parameters.