Skip to content

Commit

Permalink
hot fix : filter Data 확인
Browse files Browse the repository at this point in the history
  • Loading branch information
IGhost-P committed Jun 23, 2022
1 parent 5d5344c commit 3187c0a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion yam-view/src/pages/WebView.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/* global kakao */
import React, { createElement, useEffect, useState } from "react";
import { markerdata } from "../components/Data/markerData";
import { dummyData, markerdata } from "../components/Data/markerData";
import "./WebView.css";
import $ from "jquery";
import { filterTag } from "../utils/filterTag";

const { kakao } = window;

Expand Down Expand Up @@ -128,6 +129,11 @@ const WebView = () => {
map.addControl(zoomControl, kakao.maps.ControlPosition.BOTTOMLEFT);

// 음식점 data map
if (result.tagList) {
let filterData = filterTag(dummyData, result.tagList.split(","));
console.log(filterData);
}

markerdata.map((el, index) => {
var markerPosition = new kakao.maps.LatLng(
el.Y_COORDINATE,
Expand Down

2 comments on commit 3187c0a

@vercel
Copy link

@vercel vercel bot commented on 3187c0a Jun 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

yamyma-webview2 – ./yam-view

yamyma-webview2-booda.vercel.app
yamyma-webview2.vercel.app
yamyma-webview2-git-main-booda.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3187c0a Jun 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

yamyma-webview – ./yam-view/public

yamyma-webview-gamma.vercel.app
yamyma-webview-booda.vercel.app
yamyma-webview-git-main-booda.vercel.app

Please sign in to comment.