<commit_before># GMPOIT

This is gem for help to point on google map. You can marker your address and search your location

## Installation
### in your Gemfile
		gem 'gmpoint', git: '<EMAIL>:dangluan/gmpoint.git'
		
## Setting Up

	bundle
	rails g gmpoint:install
	rails g gmpoint MODEL
	rake db:migrate

## Usage

### Add code below into application.html.erb :
		<%= show_map_helper your_model %>
		
		Example:
			<%= show_map_helper :users %>
			
			
### You can set options for view
	
* You can set width , height for map view
	<%= show_map_helper :users, {width: 400, height: 200} %>
			
* You can set searchbox_with for search box
	<%= show_map_helper :users, {searchbox_width: 300} %>
		
* You can show or hide your search box
	<%= show_map_helper :users, {searchbox: 'show', width: 400, height: 200, searchbox_width: 300} %>
			
	and when you want to hide the search box
	<%= show_map_helper :users, {searchbox: 'none', width: 400, height: 200, searchbox_width: 300} %>
			
* You can only set show or point to map using attribute "allow"
	<%= show_map_helper :users, {allow: 'show', searchbox: 'none', width: 400, height: 200, searchbox_width: 300} %>
			
	and when you want to point
	<%= show_map_helper :users, {allow: 'point', searchbox: 'none', width: 400, height: 200, searchbox_width: 300} %>
			
	Example:
		<%= show_map_helper :users, {width: 400, height: 200, searchbox_width: 300} %>
		
<commit_msg>Update README.markdown<commit_after># GMPOIT

This is gem for help to point on google map. You can marker your address and search your location

## Installation
### in your Gemfile
		gem 'gmpoint', git: '<EMAIL>:dangluan/gmpoint.git'
		
## Setting Up

	bundle
	rails g gmpoint:install
	rails g gmpoint MODEL
	rake db:migrate

## Usage

### Add code below into application.html.erb :
		<%= show_map_helper your_model %>
		
		Example:
			<%= show_map_helper :users %>
			
			
### You can set options for view
	
#### You can set "width" , "height" for map view
		<%= show_map_helper :users, {width: 400, height: 200} %>
			
#### You can set "searchbox_with" for search box
		<%= show_map_helper :users, {searchbox_width: 300} %>
		
#### You can show or hide your search box
		<%= show_map_helper :users, {searchbox: 'show', width: 400, height: 200, searchbox_width: 300} %>
			
	and when you want to hide the search box
		<%= show_map_helper :users, {searchbox: 'none', width: 400, height: 200, searchbox_width: 300} %>
			
#### You can only set show or point to map using attribute "allow"
		<%= show_map_helper :users, {allow: 'show', searchbox: 'none', width: 400, height: 200, searchbox_width: 300} %>
			
	and when you want to point
		<%= show_map_helper :users, {allow: 'point', searchbox: 'none', width: 400, height: 200, searchbox_width: 300} %>
			
	Example:
		<%= show_map_helper :users, {width: 400, height: 200, searchbox_width: 300} %>
		

{'fraction_non_alphanumeric': 0.12670157068062826, 'fraction_numerical': 0.03769633507853403, 'mean_word_length': 4.090586145648313, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2044115', 'n_tokens_mistral': 1174, 'n_tokens_neox': 940, 'n_words': 343}