AnsweredAssumed Answered

How do i put arcgis as a layer on Google map

Question asked by khaldoon_82 on Jun 19, 2017
Latest reply on Jun 20, 2017 by fcbassongis
i have a vehicle tracking software thats based on Google Maps, a customer of mine wants to add archgis map of his own (thats protected by a token), he want to overlay this map to the software original map , so he could see his vehicles on his own map that already has some addresses.
i tried arcgislink solution but it doesnt work ! i have surfed arcgid documentation and google documentation, nothing fits in my case
please help me with a simple code on how to do that as its my first time working with ArcGIS maps, i tried this code and i could see the arcgis map correctly, i dont know how to add that to google


<!DOCTYPE html>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
        <title><?php echo siteTitle;?></title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="">
        <link rel="stylesheet" href="css/style.css">
        <script src=""></script>
        <link rel="stylesheet" href=""/>
       html, body, #map{
                padding: 0;
                margin: 0;
                height: 100%;
        <script src=""></script>
        <script type="text/javascript">
            var map;
            var token ="<?php echo $vars['esriToken'];?>";
            function init() {
                map = new esri.Map("map");
                var layer = new esri.layers.ArcGISTiledMapServiceLayer("http://mapserv.ThisisTheServerURL/MapServer?token=" + token);
                var resizeTimer;
                dojo.connect(map, 'onLoad', function(theMap) {
                    dojo.connect(dijit.byId('map'), 'resize', function() {
                        resizeTimer = setTimeout(function() {
                        }, 500);
    <div id="map" dojotype="dijit.layout.ContentPane" region="center"> </div>
How do i reflect that on Google map ?
Your help is so much appreciated