This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { print as printGraphQL } from 'graphql-tag/printer'; | |
import RecursiveIterator from 'recursive-iterator'; | |
import objectPath from 'object-path'; | |
export function createNetworkInterface(url) { | |
return { | |
query(request) { | |
const formData = new FormData(); | |
// search for File objects on the request and set it as formData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var printMap = function(map) { | |
map.setOptions({ | |
mapTypeControl: false, | |
zoomControl: false, | |
streetViewControl: false, | |
panControl: false | |
}); | |
var popUpAndPrint = function() { | |
dataUrl = []; |