<commit_before>{% block oh_google_maps_widget %}
<div {{ block('widget_container_attributes') }}>
	{% block oh_google_maps_html %} 
	<div id="{{ id }}_container">
		<input type="text" id="{{ id }}_input" /><button id="{{ id }}_search_button" class="btn">Search</button><br /><a href="#" id="{{ id }}_current_position">Current location</a>
		<div id="{{ id }}_map_canvas" class="gmap" style="width: {{ map_width }}px; height: {{ map_height }}px"></div>
		<div id="{{ id }}_error"></div>
	</div>
	{% endblock %}
	{% block oh_google_maps_fields %} 
		{% for child in form %}
		    {{ form_row(child) }}
        {% endfor %}
	{% endblock %}
	{% block oh_google_maps_javascripts %}
		{% if include_jquery %}
		<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
		{% endif %}
		{% if include_gmaps_js %}
		<script type="text/javascript" src="//maps.google.com/maps/api/js?sensor=true"></script>
		{% endif %}
		{% javascripts
			'@OhGoogleMapFormTypeBundle/Resources/public/js/jquery.ohgooglemaps.js'
		%}
		<script type="text/javascript" src="{{ asset_url }}"></script>
		{% endjavascripts %}
	{% endblock %}
	{% block oh_google_maps_javascript %}
		{% block oh_google_maps_callback %}
			<script type="text/javascript">
				var oh_google_maps_callback = function(location, gmap){
					// your callback function here
				}
			</script>	
		{% endblock %}
		<script type="text/javascript"><commit_msg>To remove warning javascript to use Google Maps API.  The warning is because the bundle used ?sensor=true on line 18 of  /Resources/views/Form/google_maps.html.twig  according to the documentation is no longer needed,<commit_after>{% block oh_google_maps_widget %}
<div {{ block('widget_container_attributes') }}>
	{% block oh_google_maps_html %} 
	<div id="{{ id }}_container">
		<input type="text" id="{{ id }}_input" /><button id="{{ id }}_search_button" class="btn">Search</button><br /><a href="#" id="{{ id }}_current_position">Current location</a>
		<div id="{{ id }}_map_canvas" class="gmap" style="width: {{ map_width }}px; height: {{ map_height }}px"></div>
		<div id="{{ id }}_error"></div>
	</div>
	{% endblock %}
	{% block oh_google_maps_fields %} 
		{% for child in form %}
		    {{ form_row(child) }}
        {% endfor %}
	{% endblock %}
	{% block oh_google_maps_javascripts %}
		{% if include_jquery %}
		<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
		{% endif %}
		{% if include_gmaps_js %}
		<script type="text/javascript" src="//maps.google.com/maps/api/js"></script>
		{% endif %}
		{% javascripts
			'@OhGoogleMapFormTypeBundle/Resources/public/js/jquery.ohgooglemaps.js'
		%}
		<script type="text/javascript" src="{{ asset_url }}"></script>
		{% endjavascripts %}
	{% endblock %}
	{% block oh_google_maps_javascript %}
		{% block oh_google_maps_callback %}
			<script type="text/javascript">
				var oh_google_maps_callback = function(location, gmap){
					// your callback function here
				}
			</script>	
		{% endblock %}
		<script type="text/javascript">
{'fraction_non_alphanumeric': 0.18664938431626701, 'fraction_numerical': 0.0019442644199611147, 'mean_word_length': 4.473404255319149, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '4429097', 'n_tokens_mistral': 1160, 'n_tokens_neox': 996, 'n_words': 216}