<commit_before>import React, { Component, Text, Image } from 'react-native';
import MapView from 'react-native-maps';
import { myCurrLoc } from '../lib/db/db';
import { PinCallout } from './PinCallout';


export default class FriendLocations extends Component {

  constructor(props) {
    super(props);
    this.state = {
      myLoc: {
        latitude: 0,
        longitude: 0
      }
    };
  }

  componentDidMount() {
    var self = this
    myCurrLoc.on('value', function(newLocation) {

      self.setState({ myLoc: newLocation.val() });
    });
  }

  render() {
    return (
      <MapView.Marker
        coordinate={this.state.myLoc}
        image={{uri: "https://scontent.xx.fbcdn.net/hprofile-prn2/v/t1.0-1/c0.7.50.50/p50x50/993777_10151526626173598_615258953_n.jpg?oh=a23e645024f54a13baa412d052bd5a7c&oe=578DD21D"}}
        // centerOffset={{ x: -42, y: -60 }}
        style={{borderRadius: 13, backgroundColor: 'transparent'}}
      >
        <MapView.Callout tooltip>
          <PinCallout>
            <Text style={{ color: 'black', alignSelf:'center', fontSize:16 }}>ME</Text>
          </PinCallout>
        </MapView.Callout>
      </MapView.Marker>

    );
  }
            // <Image
            //   source={{uri: "https://scontent.xx.fbcdn.net/hprofile-prn2/v/t1.0-1/c0.7.50.50/p50x50/993777_10151526626173598_615258953_n.jpg?oh=a23e645024f54a13baa412d052bd5a7c&oe=578DD21D"}}
            // />

}<commit_msg>working with test data<commit_after>import React, { Component, Text, Image, View, StyleSheet } from 'react-native';
import MapView from 'react-native-maps';
import { myCurrLoc } from '../lib/db/db';
import { PinCallout } from './PinCallout';


export default class FriendLocations extends Component {

  constructor(props) {
    super(props);
    this.state = {
      coordinate: {
        latitude: 0,
        longitude: 0
      }
    };
  }

  componentDidMount() {
    var self = this
    myCurrLoc.on('value', function(newLocation) {

      self.setState({ coordinate: newLocation.val() });
    });
  }

  animate() {

  }

  render() {
    return (
      // <View style={{borderRadius:13}}>
      <MapView.Marker
        coordinate={this.state.coordinate}
        image={{uri: "https://scontent.xx.fbcdn.net/hprofile-prn2/v/t1.0-1/c0.7.50.50/p50x50/993777_10151526626173598_615258953_n.jpg?oh=a23e645024f54a13baa412d052bd5a7c&oe=578DD21D"}}
        // centerOffset={{ x: -42, y: -60 }}
        style={styles.icon}
      >
        <MapView.Callout tooltip>
          <PinCallout>
            <Text style={{ color: 'black', alignSelf:'center', fontSize:16 }}>ME</Text>
          </PinCallout>
        </MapView.Callout>
      </MapView.Marker>
      // </View>

    );
  }
}

const styles = StyleSheet.create({
  icon: {
    borderRadius: 13,
    backgroundColor: 'transparent',
  }
})

{'fraction_non_alphanumeric': 0.15460992907801419, 'fraction_numerical': 0.08333333333333333, 'mean_word_length': 2.5936305732484075, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, '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': '105730', 'n_tokens_mistral': 1143, 'n_tokens_neox': 1010, 'n_words': 157}