Skip to content

Instantly share code, notes, and snippets.

@murphybytes
Created May 27, 2015 22:58
Show Gist options
  • Select an option

  • Save murphybytes/9fd38aa221f07f95553c to your computer and use it in GitHub Desktop.

Select an option

Save murphybytes/9fd38aa221f07f95553c to your computer and use it in GitHub Desktop.
Create Field Selector
<script>
console.log( "creating field selector" );
var field_selector = new Agsolver.FieldSelector( {
map_div_id: 'map',
geoserver_url: "<%= ENV['GEOSERVER_URL'] %>",
editable: true,
input_div_id: 'prospector_field_map_coords_as_geojson'
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment