Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin10 committed Sep 18, 2011
1 parent 68e9a5e commit a6f0b8c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Resources/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,14 +240,14 @@ class Location

You can change the query service used to get the coordinates by creating your own
class which implements ``Vich\GeographicalBundle\QueryService\QueryServiceInterface``.
By default Google is used.
By default Google is used. You can then define your class as as service and then
configure that service using the `query_service` configuration parameter.

``` yaml
# app/config.yml
vich_geographical:
# ...
class:
query_service: Foo\BarBundle\QueryService\MyQueryService
query_service: my_custom_service
```
Twig Integration
Expand Down Expand Up @@ -440,8 +440,8 @@ injected the EntityManager into it.
</container>
```
Instead of using ``vichgeo_map_for`` to render the map, a pre-configured map is
rendered with ``vichgeo_map``.
Instead of using `vichgeo_map_for` to render the map, a pre-configured map is
rendered with `vichgeo_map`.

``` twig
{{ vichgeo_map('pre_configured') }}
Expand Down

0 comments on commit a6f0b8c

Please sign in to comment.