Opengraph::setMap

@param float $latitude
@param float $longitude

@return static
436267
public function setMap($latitude, $longitude)
    {
        $this->setObject('latitude', $latitude);
        $this->setObject('longitude', $longitude);

        return $this;
    }
773089
public function setCoordinateFieldnames($latitudeFieldname = 'latitude', $longitudeFieldname = 'longitude')
    {
        $this->_latitudeFieldname = $latitudeFieldname;
        $this->_longitudeFieldname = $longitudeFieldname;
        return $this;
    }
514382
private function setCoordinates(\Geocoder\Model\Address $coordinates) {

        $this->coordinates = [
            'latitude'      => $coordinates->getLatitude(),
            'longtitude'    => $coordinates->getLongitude()
        ];

        return $this;
    }
493690
public static final Geoshape point(final float latitude, final float longitude) {
        Preconditions.checkArgument(isValidCoordinate(latitude,longitude),"Invalid coordinate provided");
        return new Geoshape(new float[][]{ new float[]{latitude}, new float[]{longitude}});
    }
710344
public static Intent newStreetViewIntent(float latitude, float longitude) {
        return newStreetViewIntent(latitude, longitude, null, null, null, null);
    }
288658
public function reverse($latitude, $longitude)
    {
        if (!$this->isLatitude($latitude)) {
            throw new \InvalidArgumentException(
                'Wrong value for latitude.'
            );
        }

        if (!$this->isLongitude($longitude)) {
            throw new \InvalidArgumentException(
                'Wrong value for longitude.'
            );
        }

        $response = $this->guzzleClient->get(
            'reverse',
            [
                'query' => [
                    'format' => $this->guzzleClient->getConfig('format'),
                    'lat'    => $latitude,
                    'lon'    => $longitude,
                    'addressdetails' => $this->guzzleClient->getConfig('addressdetails')
                ],
            ]
        );

        return $response;
    }
1336964
private static function createCoordinates($latitude, $longitude)
    {
        if (null === $latitude || null === $longitude) {
            return null;
        }

        return new Coordinates($latitude, $longitude);
    }
755386
public function marker($latitude, $longitude, array $options = [])
	{
		$parameters = [
			'latitude' => $latitude,
			'longitude' => $longitude,
		];

		$parameters = array_replace_recursive(
			$this->options,
			$parameters,
			$options
		);

		$this->markers[] = new Marker($parameters);
	}
208194
def from_latitude_longitude(cls, latitude=0.0, longitude=0.0):
        """"""
        assert -180.0 <= longitude <= 180.0, 'Longitude needs to be a value between -180.0 and 180.0.'
        assert -90.0 <= latitude <= 90.0, 'Latitude needs to be a value between -90.0 and 90.0.'
        return cls(latitude=latitude, longitude=longitude)
452939
public BoundingBox extendCoordinates(double latitude, double longitude) {
        if (contains(latitude, longitude)) {
            return this;
        }

        double minLat = Math.max(MercatorProjection.LATITUDE_MIN, Math.min(this.minLatitude, latitude));
        double minLon = Math.max(-180, Math.min(this.minLongitude, longitude));
        double maxLat = Math.min(MercatorProjection.LATITUDE_MAX, Math.max(this.maxLatitude, latitude));
        double maxLon = Math.min(180, Math.max(this.maxLongitude, longitude));

        return new BoundingBox(minLat, minLon, maxLat, maxLon);
    }
1140739
public function geoWithinCenterSphere(float $x, float $y, float $radius) : self
    {
        $this->expr->geoWithinCenterSphere($x, $y, $radius);
        return $this;
    }
1160483
function initializeMap(latitude, longitude, element) {
    return new window.google.maps.Map(element, {
      center: (new window.google.maps.LatLng(latitude, longitude)),
      mapTypeControl: false,
      signInControl: false,
      streetViewControl: false,
      zoom: 13
    });
  }
597326
public function nearPoint($field, $longitude, $latitude, $distance)
    {
        $point = new \GeoJson\Geometry\Point(array(
            (float) $longitude,
            (float) $latitude
        ));

        $near = array(
            '$geometry' => $point->jsonSerialize(),
        );

        if (is_array($distance)) {
            if (!empty($distance[0])) {
                $near['$minDistance'] = (int) $distance[0];
            }
            if (!empty($distance[1])) {
                $near['$maxDistance'] = (int) $distance[1];
            }
        } else {
            $near['$maxDistance'] = (int) $distance;
        }

        $this->where($field, array('$near' => $near));

        return $this;
    }
467417
public Double getValue(double latitude, double longitude) {
		CoverageDataRequest request = new CoverageDataRequest(latitude,
				longitude);
		CoverageDataResults values = getValues(request, 1, 1);
		Double value = null;
		if (values != null) {
			value = values.getValues()[0][0];
		}
		return value;
	}
600312
public function setLatitude($v)
    {
        if ($v !== null) {
            $v = (string) $v;
        }

        if ($this->latitude !== $v) {
            $this->latitude = $v;
            $this->modifiedColumns[DealerTableMap::LATITUDE] = true;
        }


        return $this;
    }
1268632
def set_query_latlon(self):
        '''
        
        '''

        if (isinstance(self.longitude, list) and
                isinstance(self.latitude, list)):
            self.lbox = True
            # west, east, south, north
            self.query.lonlat_box(self.longitude[0], self.longitude[1],
                                  self.latitude[0], self.latitude[1])
        else:
            self.lbox = False
            self.query.lonlat_point(self.longitude, self.latitude)
946107
public function getGymDetails(string $id, float $latitude, float $longitude) : GetGymDetailsResponse
    {
        $request = new GetGymDetails($this->position, $id, $latitude, $longitude);
        return $this->service->execute($request, $this->position);
    }