mikebronner / nova-map-marker-field

Provides an visual interface for editing latitude and longitude coordinates.
MIT License
131 stars 36 forks source link

Migration #24

Closed timcv closed 4 years ago

timcv commented 4 years ago

Hi,

What column type would you use for the migration?

Thanks for a promising package!

//Tim

mikebronner commented 4 years ago

You basically have two fields, one for latitude and one for longitude. I would recommend:

            $table->decimal("latitude", 15, 12)->nullable();
            $table->decimal("longitude", 15, 12)->nullable();
timcv commented 4 years ago

Thank you!

You should att these details to the docs.

Thanks for an awesome field!

//Tim