<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is it possible to use google maps as a basemap layer AND use a feature layer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64737#M5672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Nianwei Liu. I thought I kinda had it working before, it seemed like the initial extent was the problem so I fixed that and also added in a few parameters like draggable:false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried your updated code and so far it seems to work fine. I would like to get the little yellow streetview guy out of the top left corner though. Do you know how to hide that? I did logo:false but that just gets rid of the Google logo on the bottom left corner.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Oct 2011 12:31:59 GMT</pubDate>
    <dc:creator>LizDaRos</dc:creator>
    <dc:date>2011-10-07T12:31:59Z</dc:date>
    <item>
      <title>Is it possible to use google maps as a basemap layer AND use a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64731#M5666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using the Google Maps Layer for ArcGIS JavaScript API-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gmaps-utility-gis.googlecode.com/svn/tags/gmapslayer/1.0/src/gmapslayer_compiled.js" rel="nofollow" target="_blank"&gt;http://gmaps-utility-gis.googlecode.com/svn/tags/gmapslayer/1.0/src/gmapslayer_compiled.js&lt;/A&gt;&lt;SPAN&gt;" &amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var gMapLayer = new gmaps.GoogleMapsLayer({visible:false, id:'googlemaps'});&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.addLayer(gMapLayer);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm also using a feature layer which seems to work but when panning around the map my featurelayer pans farther then the google maps layer. Is there something I can change to correct this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a sample of what is happening-just pan around and notice the feature points don't move with the google map:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gis.manchesterct.gov/JavaScriptAPI/Google.html"&gt;http://gis.manchesterct.gov/JavaScriptAPI/Google.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 19:32:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64731#M5666</guid>
      <dc:creator>LizDaRos</dc:creator>
      <dc:date>2011-09-29T19:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use google maps as a basemap layer AND use a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64732#M5667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm using the Google Maps Layer for ArcGIS JavaScript API-&lt;BR /&gt;&amp;lt;script type="text/javascript" src="http://gmaps-utility-gis.googlecode.com/svn/tags/gmapslayer/1.0/src/gmapslayer_compiled.js" &amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;var gMapLayer = new gmaps.GoogleMapsLayer({visible:false, id:'googlemaps'});&lt;BR /&gt;map.addLayer(gMapLayer);&lt;BR /&gt;I'm also using a feature layer which seems to work but when panning around the map my featurelayer pans farther then the google maps layer. Is there something I can change to correct this? &lt;BR /&gt;Here's a sample of what is happening-just pan around and notice the feature points don't move with the google map:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gis.manchesterct.gov/JavaScriptAPI/Google.html"&gt;http://gis.manchesterct.gov/JavaScriptAPI/Google.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this:&amp;nbsp; var map = new esri.Map("map", {displayGraphicsOnPan:false});&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 20:22:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64732#M5667</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-09-29T20:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use google maps as a basemap layer AND use a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64733#M5668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestion, I had tried that earlier but no luck. Once the pan ends the graphics/points are set in a different area.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 20:57:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64733#M5668</guid>
      <dc:creator>LizDaRos</dc:creator>
      <dc:date>2011-09-29T20:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use google maps as a basemap layer AND use a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64734#M5669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having a similar problem but with an ArcGISDynamicMapServiceLayer.&amp;nbsp; If the google maps layer is the base layer, I have the same problem Lizd is having.&amp;nbsp; If I use the ESRI World-Imagery layer as the base layer and hide it behind the google maps layer, it only screws up if the AGDMSLayer is shown before a zoom.&amp;nbsp; After a zoom (whether the AGDMSLayer was visible or not), it has no problem.&amp;nbsp; It seems like it is using the wrong extent to query and display the map.&amp;nbsp; Is this a problem with the gmaps.GoogleMapsLayer?&amp;nbsp; Is this even supported by ESRI?&amp;nbsp; Any insights would be helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 17:50:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64734#M5669</guid>
      <dc:creator>DavidElies</dc:creator>
      <dc:date>2011-10-05T17:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use google maps as a basemap layer AND use a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64735#M5670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The script you use is a little old, I recommend you use the new version at &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=a84d64b0d1404366a02da714ca59d61f"&gt;http://www.arcgis.com/home/item.html?id=a84d64b0d1404366a02da714ca59d61f&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you drag the map, the graphics maybe moving in a different pace than the background google map, that's a limitation of how this lib is implemented due to Google license restriction regarding direct access to tiles. Due to unknown internals in Esri API, the style transformation is applied differently. However, when you stop pan (extentChange event), your graphics should be align correctly in the right place. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've attached a zipped html file with the new version of the lib, based on your page, all seem working as expected.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 18:37:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64735#M5670</guid>
      <dc:creator>NianweiLiu</dc:creator>
      <dc:date>2011-10-05T18:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use google maps as a basemap layer AND use a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64736#M5671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No it is not supported by Esri. It's just a lib in the code gallery, just like the old arcscripts stuff. Normally you need to dig out into the code if it is not work straight for you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 18:38:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64736#M5671</guid>
      <dc:creator>NianweiLiu</dc:creator>
      <dc:date>2011-10-05T18:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use google maps as a basemap layer AND use a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64737#M5672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Nianwei Liu. I thought I kinda had it working before, it seemed like the initial extent was the problem so I fixed that and also added in a few parameters like draggable:false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried your updated code and so far it seems to work fine. I would like to get the little yellow streetview guy out of the top left corner though. Do you know how to hide that? I did logo:false but that just gets rid of the Google logo on the bottom left corner.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 12:31:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-use-google-maps-as-a-basemap/m-p/64737#M5672</guid>
      <dc:creator>LizDaRos</dc:creator>
      <dc:date>2011-10-07T12:31:59Z</dc:date>
    </item>
  </channel>
</rss>

