Title: Address Geocoder
Author: Marty Spellerberg
Published: <strong>16. maj, 2012</strong>
Last modified: 23. januar, 2019

---

Søg plugins

![](https://ps.w.org/address-geocoder/assets/banner-772x250.png?rev=1400499)

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://ps.w.org/address-geocoder/assets/icon-256x256.png?rev=1400499)

# Address Geocoder

 Af [Marty Spellerberg](https://profiles.wordpress.org/martyspellerberg/)

[Download](https://downloads.wordpress.org/plugin/address-geocoder.zip)

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

 [Support](https://wordpress.org/support/plugin/address-geocoder/)

## Beskrivelse

The Address Geocoder plugin lets you attach coordinates to your posts, pages, and
custom post types. On your edit screens, simply enter an address into the metabox
and hit “Geocode”.

This plugin uses Google Maps API v3 to translate an address to lat/lng coordinates.
A Google Maps API key is required.

### Fequently Asked Questions

#### How do I retrieve the coordinates?

Access your data in the loop using the following functions, with the post ID passed
as a parameter. For the full coordinates (in brackets):

    ```
    <?php echo get_geocode_latlng( $post->ID ); ?>
    ```

For the Latitude:

    ```
    <?php echo get_geocode_lat( $post->ID ); ?>
    ```

For the Longitude:

    ```
    <?php echo get_geocode_lng( $post->ID ); ?>
    ```

For the Address:

    ```
    <?php echo get_geocode_address( $post->ID ); ?>
    ```

## Skærmbilleder

[⌊The meta box before clicking "Geocode"⌉⌊The meta box before clicking "Geocode"⌉[

The meta box before clicking “Geocode”

[⌊The meta box after clicking "Geocode"⌉⌊The meta box after clicking "Geocode"⌉[

The meta box after clicking “Geocode”

[⌊The settings page⌉⌊The settings page⌉[

The settings page

## Installation

 1. Activate the plugin
 2. Go to Settings > Address Geocoder to set your Google Maps API key and choose desired
    post types
 3. Done! You’ll see a “Geocoder” meta box on your edit screens.

## Anmeldelser

![](https://secure.gravatar.com/avatar/205b7aaa73566edc1a93d6b2b572bac03dcddfb0173f60476df751a807b6a893?
s=60&d=retro&r=g)

### 󠀁[Works!](https://wordpress.org/support/topic/works-1808/)󠁿

 [ndawebs](https://profiles.wordpress.org/ndawebs/) 16. november, 2020

It is a very useful plugin to use with Facetwp and the map plugin

![](https://secure.gravatar.com/avatar/dbe496dfa859ff247d554cb5aa48a79b9f962fd3c09effae509ef1e6750d7c69?
s=60&d=retro&r=g)

### 󠀁[excellent](https://wordpress.org/support/topic/excellent-3827/)󠁿

 [bort](https://profiles.wordpress.org/b0r7/) 3. september, 2016

does what it says very well. awesome contribution!

![](https://secure.gravatar.com/avatar/df8a93f528402bcb6ef824cc790dc5ec5aaa43bf5433cf4c269fda88c4ddbfd4?
s=60&d=retro&r=g)

### 󠀁[Works as advertised.](https://wordpress.org/support/topic/works-as-advertised-323/)󠁿

 [b2marketing](https://profiles.wordpress.org/b2marketing/) 3. september, 2016

Light weight and allows us to select which post types the box should appear on. 
Great! Thanks for providing us with this plugin for free.

![](https://secure.gravatar.com/avatar/6e041ddb05ec5b5220d9bd92b494971b02f900a4f0f15310b51bfd7de66346c5?
s=60&d=retro&r=g)

### 󠀁[Helpful Plugin](https://wordpress.org/support/topic/helpful-plugin-35/)󠁿

 [c1zone](https://profiles.wordpress.org/c1zone/) 3. september, 2016

Before must tweak at javascript

 [ Læs alle 7 anmeldelser ](https://wordpress.org/support/plugin/address-geocoder/reviews/)

## Bidragsydere & udviklere

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

Bidragsydere

 *   [ Marty Spellerberg ](https://profiles.wordpress.org/martyspellerberg/)
 *   [ Matt Gibbs ](https://profiles.wordpress.org/mgibbs189/)

“Address Geocoder” er blevet oversat til 1 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/address-geocoder/contributors)
for deres bidrag.

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

### Interesseret i udvikling?

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

## Ændringslog

#### 1.0.1

 * Tested compatibility against WP 5.1

#### 1.0

 * Better meta box handling (props @burkeshartsis)
 * Draggable marker (props @burkeshartsis)
 * Various fixes and improvements

#### 0.9.2

 * Minor cleanup
 * Added new icon and banner to wordpress.org plugins page

#### 0.9.1

 * Tested compatibility against WP 4.4

#### 0.9

 * A Google Maps API key is now required. Go to Settings > Address Geocoder to set
   your Google Maps API key.

## Meta

 *  Version **1.0.1**
 *  Senest opdateret **8 år siden**
 *  Aktive installationer **500+**
 *  WordPress-version ** 4.8 eller højere **
 *  Testet op til **5.1.27**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/address-geocoder/) og [Swedish](https://sv.wordpress.org/plugins/address-geocoder/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/address-geocoder)
 * Tags
 * [coordinates](https://da.wordpress.org/plugins/tags/coordinates/)[geocode](https://da.wordpress.org/plugins/tags/geocode/)
   [latitude](https://da.wordpress.org/plugins/tags/latitude/)[location](https://da.wordpress.org/plugins/tags/location/)
   [longitude](https://da.wordpress.org/plugins/tags/longitude/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/address-geocoder/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  7 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/address-geocoder/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/address-geocoder/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/address-geocoder/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/address-geocoder/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/address-geocoder/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/address-geocoder/reviews/#new-post)

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

## Bidragsydere

 *   [ Marty Spellerberg ](https://profiles.wordpress.org/martyspellerberg/)
 *   [ Matt Gibbs ](https://profiles.wordpress.org/mgibbs189/)

## Support

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

 [Vis supportforum](https://wordpress.org/support/plugin/address-geocoder/)