Download the PHP package codewithdennis/filament-simple-map without Composer

On this page you can find all versions of the php package codewithdennis/filament-simple-map. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-simple-map

Filament Simple Map

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

This package provides a simple and user-friendly map display action component for your Filament application. It utilizes an iframe to render the map, ensuring seamless integration. Ensure you have a Google Maps API key to use this package.

thumbnail.png

Installation

You can install the package via composer:

You can publish the config file with:

This is the contents of the published config file:

Usage

This package supports the following Google Maps modes place, view, streetview, search and directions. The default mode is place. You can use it for Table Actions, Infolists, Forms, and regular actions. Just make sure you import the right component.

Place

Methods that are available with the default place mode.

Defines map marker location.

Defines center of the map view.

Sets initial zoom level of the map.

Sets the map to satellite view. (default: roadmap)

Defines the language to use for UI elements and for the display of labels on map tiles.

Defines the appropriate borders and labels to display, based on geopolitical sensitivities.

Here is an example of how to use the place mode.

View

To use the view mode, you need to call the viewing method.

Sets the map to viewing mode.

Defines center of the map view.

Sets initial zoom level of the map.

Sets the map to satellite view. (default: roadmap)

Here is an example of how to use the view mode.

Directions

To use the directions mode, you need to call the directions method.

Defines the starting point for calculating directions.

Defines the destination point for calculating directions.

Specifies one or more intermediary places to route directions between the origin and destination.

Specifies features to avoid in directions. Note that this doesn't preclude routes that include the restricted feature(s); it biases the result to more favorable routes.

Sets the mode of transport to flying.

Sets the mode of transport to walking.

Sets the mode of transport to bicycling.

Sets the mode of transport to transit.

Sets the mode of transport to driving.

Sets the unit system to imperial. (default: metric)

Defines center of the map view.

Sets the map to satellite view. (default: roadmap)

Defines the language to use for UI elements and for the display of labels on map tiles.

Defines the appropriate borders and labels to display, based on geopolitical sensitivities.

Here is an example of how to use the directions mode.

Streetview

To use the streetview mode, you need to call the streetview method.

Defines the location to display street view.

Indicates the compass heading of the camera in degrees clockwise from North.

Specifies the angle, up or down, of the camera.

Determines the horizontal field of view of the image.

Defines center of the map view.

Sets initial zoom level of the map.

Defines the language to use for UI elements and for the display of labels on map tiles.

Defines the appropriate borders and labels to display, based on geopolitical sensitivities.

Search

To use the search mode, you need to call the search method.

Defines the search term.

Defines center of the map view.

Sets initial zoom level of the map.

Sets the map to satellite view. (default: roadmap)

Defines the language to use for UI elements and for the display of labels on map tiles.

Defines the appropriate borders and labels to display, based on geopolitical sensitivities.

Here is an example of how to use the search mode.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of filament-simple-map with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.15.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package codewithdennis/filament-simple-map contains the following files

Loading the files please wait ....