Skip to content

Commit

Permalink
Add GeoJSON leaflet example
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee committed Jun 21, 2019
1 parent 7576b2f commit 6c15a5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api.php
Expand Up @@ -4366,6 +4366,7 @@ public function __construct(string $driver)
'bit varying' => 'bit',
'box' => 'geometry',
'bytea' => 'blob',
'bpchar' => 'char',
'character varying' => 'varchar',
'character' => 'char',
'cidr' => 'varchar',
Expand Down Expand Up @@ -7334,7 +7335,7 @@ class Config
'password' => null,
'database' => null,
'middlewares' => 'cors',
'controllers' => 'records,openapi',
'controllers' => 'records,geojson,openapi',
'cacheType' => 'TempFile',
'cachePath' => '',
'cacheTime' => 10,
Expand Down
2 changes: 1 addition & 1 deletion src/Tqdev/PhpCrudApi/Config.php
Expand Up @@ -11,7 +11,7 @@ class Config
'password' => null,
'database' => null,
'middlewares' => 'cors',
'controllers' => 'records,openapi',
'controllers' => 'records,geojson,openapi',
'cacheType' => 'TempFile',
'cachePath' => '',
'cacheTime' => 10,
Expand Down

0 comments on commit 6c15a5f

Please sign in to comment.