Closed (fixed)
Project:
Geofield
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2012 at 16:36 UTC
Updated:
29 Aug 2012 at 20:51 UTC
I'm starting to write integration for geocoder, and I think for most other modules that integrate with geofield, we need to be able to detect wether we are running an "old" version of geofield, or wether we are running the new, WKB powered one.
I think a global variable makes the most sense. It'll either be NULL if it's an older version (not defined), or TRUE if it's the new one with the new schema.
I'm thinking something like global $geofield_geom_schema = TRUE
Comments
Comment #1
phayes commentedOkay, it's done.
Comment #2.0
(not verified) commentedadsf