Title: EasyGeo
Author: theozero
Published: <strong>3. maj, 2011</strong>
Last modified: 3. maj, 2011

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/easygeo.svg)

# EasyGeo

 Af [theozero](https://profiles.wordpress.org/theozero/)

[Download](https://downloads.wordpress.org/plugin/easygeo.zip)

 * [Detaljer](https://da.wordpress.org/plugins/easygeo/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/easygeo/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/easygeo/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/easygeo/#developers)

 [Support](https://wordpress.org/support/plugin/easygeo/)

## Beskrivelse

This plugin is extremely simple, and intended for someone who wants to add geocoding
to their blog, but without the bloat of a big fat plugin. This lets you tag each
post with a location (description, latitude, longitude) which can then be used in
your custom theme.

This plugin also provides a feature to track of a single location not associated
with any posts. This is useful in order to create a “Where Am I?” feature on your
blog where you control the level of detail (just to share the city, rather than 
pluggin in foursquare data). This is especially nice if you’re running a travel 
blog or a website for some kind of tour.

## Skærmbilleder

[⌊The extra meta-box that appears while editing posts. A similar box appears on 
the dashboard if you choose to enable the "Where Am I" tracker.⌉⌊The extra meta-
box that appears while editing posts. A similar box appears on the dashboard if 
you choose to enable the "Where Am I" tracker.⌉[

The extra meta-box that appears while editing posts. A similar box appears on the
dashboard if you choose to enable the “Where Am I” tracker.

## Installation

 1. Upload `easygeo.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use `EasyGeo :: getCoordinates($post->ID)` to get the coordinates in tuple (description,
    lat, lon)
 4. Or use `EasyGeo :: getCoordinatesString($post->ID)` to get “lat,lon” and `EasyGeo::
    getLocationString($post->ID)` to get the description
 5. Use `EasyGeo :: getCurrentCoordinates()` and getCurrent… to get the single location
    tracked from the dashboard

## FAQ

### How do I actually add a map to my template?

You can use the google static maps API to get a static image. Heres an example:

    ```
    <?php if ( EasyGeo :: getCoordinates($post->ID) != null ) : ?>
    <div>
        <img src="http://maps.google.com/maps/api/staticmap?center=<?php echo EasyGeo::getCoordinatesString($post->ID); ?>&zoom=6&size=219x220&maptype=hybrid&markers=color:blue|<?php echo SimpleGeo::getCoordinatesString($post->ID); ?>&sensor=false" width="219" height="220" />
        <span id="where_label"><?php echo SimpleGeo::getLocationString($singlepostid); ?></span>
    </div>
    ```

Or you can use the regular API to get an interactive map. It’s all pretty straightforward.

### What else does this plugin do?

Nothing. The point is that it’s dead simple, and easy to use in the backend. From
this, you can build all kinds of crazy interactive map browsers for your blog and
this plugin will just handle the tagging on the backend.

_Enjoy!_

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“EasyGeo” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

 *   [ theozero ](https://profiles.wordpress.org/theozero/)

[Oversæt “EasyGeo” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/easygeo)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/easygeo/), tjek [SVN repository](https://plugins.svn.wordpress.org/easygeo/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/easygeo/)
via [RSS](https://plugins.trac.wordpress.org/log/easygeo/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0

 * Initial Release

## Meta

 *  Version **1.0**
 *  Senest opdateret **15 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 2.0.2 eller højere **
 *  Testet op til **3.0.0**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/easygeo/)
 * Tags
 * [geo](https://da.wordpress.org/plugins/tags/geo/)[geocode](https://da.wordpress.org/plugins/tags/geocode/)
   [geocoding](https://da.wordpress.org/plugins/tags/geocoding/)[lat](https://da.wordpress.org/plugins/tags/lat/)
   [lon](https://da.wordpress.org/plugins/tags/lon/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/easygeo/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/easygeo/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/easygeo/reviews/)

## Bidragsydere

 *   [ theozero ](https://profiles.wordpress.org/theozero/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/easygeo/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](http://theoephraim.com/)