Hi!
I made one module before but am struggling with my next project.
Goal: make a widget for the geolocation field that allows for input through HTML5 geopositioning.

I'm planning to implement

  • geolocationwidget_field_widget_info()
  • geolocationwidget_field_widget_form()

So far I have

function geolocationwidget_field_widget_info() {
  return array(
    'geolocation_text' => array(
      'label' => t('Test Test'),
      'field types' => array('geolocation_latlng'),
    ),
  );
}

But nothing shows up :
http://i.imgur.com/dFJ6O8p.png
I'm expecting to see "Test test"..