<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Xamarin.Forms;
using Xamarin.Forms.GoogleMaps;
using Xamarin.Forms.Xaml;

namespace AeccApp.Core.Views
{
	[XamlCompilation(XamlCompilationOptions.Compile)]
	public partial class CompletingRequestView : BaseContentPage
	{
		public CompletingRequestView ()
		{
           
            InitializeComponent ();
            map.InitialCameraUpdate = CameraUpdateFactory.NewPositionZoom(new Position(40.486683, -3.665183), 16d);
            var pinBravent = new Pin() { Label = "Bravent", Position = new Position(40.486683, -3.665183) };
            map.Pins.Add(pinBravent);


        }

        protected override void OnAppearing()
        {
            base.OnAppearing();
            MoveCameraMap(new Position(40.486683, -3.665183));

        }
        public async void MoveCameraMap(Position toPosition)
        {
            
            var animState = await map.AnimateCamera(CameraUpdateFactory.NewPositionZoom(<commit_msg>#46 Marcadores personalizados implementados<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Xamarin.Forms;
using Xamarin.Forms.GoogleMaps;
using Xamarin.Forms.Xaml;

namespace AeccApp.Core.Views
{
	[XamlCompilation(XamlCompilationOptions.Compile)]
	public partial class CompletingRequestView : BaseContentPage
	{

        readonly string pinBundle = "location_pin.png";

        public CompletingRequestView ()
		{
           



            InitializeComponent ();
            map.InitialCameraUpdate = CameraUpdateFactory.NewPositionZoom(new Position(40.486683, -3.665183), 16d);
            var pinBravent = new Pin() { Label = "Bravent", Position = new Position(40.486683, -3.665183) };
            pinBravent.IsDraggable = false;
            switch (Device.OS)
            {
                case TargetPlatform.Android:
                    pinBravent.Icon = BitmapDescriptorFactory.FromBundle($"location_pin.png");
                    break;
                case TargetPlatform.iOS:
                    pinBravent.Icon = BitmapDescriptorFactory.FromBundle($"location_pin.png");
                    break;
                default:
                    pinBravent.Icon = BitmapDescriptorFactory.FromBundle($"Assets/location_pin.png");
                    break;
            }

            map.Pins.Add(pinBravent);
        }

        protected override void OnAppearing()
        {
            base.OnAppearing();
            MoveCameraMap(new Position(40.486683, -3.665183));

        }
        public async void MoveCameraMap(Position toPosition)
        {
            
            var animState = await map.AnimateCamera(CameraUpdateFactory.NewPositionZoom(
{'fraction_non_alphanumeric': 0.08974813763746009, 'fraction_numerical': 0.034054629301170626, 'mean_word_length': 2.381294964028777, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3143161', 'n_tokens_mistral': 848, 'n_tokens_neox': 766, 'n_words': 144}